Learn R Programming

RMySQL (version 0.9-3)

MySQLDriver-class: Class MySQLDriver

Description

An MySQL driver implementing the R/S-Plus database (DBI) API.

Arguments

Generators

The main generators are dbDriver and MySQL.

Extends

Class "DBIDriver", directly. Class "MySQLObject", directly. Class "DBIObject", by class "DBIDriver". Class "dbObjectId", by class "MySQLObject".

References

See the Database Interface definition document DBI.pdf in the base directory of this package or http://developer.r-project.org/db.

See Also

DBI base classes:

DBIObject-class DBIDriver-class DBIConnection-class DBIResult-class

MySQL classes:

MySQLObject-class MySQLDriver-class MySQLConnection-class MySQLResult-class

Examples

Run this code
drv <- dbDriver("MySQL")
con <- dbConnect(drv, "user/password@dbname")

Run the code above in your browser using DataLab