dbGetInfo-MySQLDriver-method: Get information about a MySQL driver.

Description Usage Arguments Examples

Description

Get information about a MySQL driver.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'MySQLDriver'
dbGetInfo(dbObj, what = "", ...)

## S4 method for signature 'MySQLDriver'
dbListConnections(drv, ...)

## S4 method for signature 'MySQLDriver'
summary(object, verbose = FALSE, ...)

## S4 method for signature 'MySQLDriver'
show(object)

Arguments

dbObj, object, drv

Object created by MySQL.

what

Optional

...

Ignored. Needed for compatibility with generic.

verbose

If TRUE, print extra info.

Examples

1
2
3
4
5
6
db <- RMySQL::MySQL()

db
dbGetInfo(db)
dbListConnections(db)
summary(db)

Example output

Loading required package: DBI
<MySQLDriver>
$connectionIds
list()

$fetch_default_rec
[1] 500

$length
[1] 16

$num_con
[1] 0

$counter
[1] 0

$clientVersion
[1] "5.5.62"

list()
<MySQLDriver>
  Max connections:   16 
  Cur connections:   0 
  Total connections: 0 
  Default records per fetch: 500 

RMySQL documentation built on June 22, 2021, 5:08 p.m.