MySQLDriver-class {RMySQL} | R Documentation

## Class MySQLDriver

### Description

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

### 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".

### Methods

coerce
  `signature(from = "MySQLObject", to = "MySQLDriver")`: ...
dbConnect
  `signature(drv = "MySQLDriver")`: ...
dbGetInfo
  `signature(dbObj = "MySQLDriver")`: ...
dbListConnections
  `signature(drv = "MySQLDriver")`: ...
dbUnloadDriver
  `signature(drv = "MySQLDriver")`: ...
summary
  `signature(object = "MySQLDriver")`: ...

### 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

    ## Not run:
    drv <- dbDriver("MySQL")
    con <- dbConnect(drv, "user/password@dbname")
    ## End(Not run)

[Package RMySQL version 0.6-0 Index]