Learn R Programming

RMariaDB (version 1.3.2)

Client-flags: Client flags

Description

Use for the client.flag argument to dbConnect(), multiple flags can be combined with + or bitwOr(). The flags are provided for completeness. To enforce SSL for the DB connection, add the flag CLIENT_SSL.

Arguments

See Also

The flags argument at https://mariadb.com/kb/en/library/mysql_real_connect.

Examples

Run this code
if (FALSE) {
library(DBI)
library(RMariaDB)
con1 <- dbConnect(MariaDB(), client.flag = CLIENT_COMPRESS)
con2 <- dbConnect(
  MariaDB(),
  client.flag = bitwOr(CLIENT_COMPRESS, CLIENT_SSL)
)
}

Run the code above in your browser using DataLab