Client-flags | R Documentation |
Use for the client.flag
argument to DBI::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
.
The flags
argument at https://mariadb.com/kb/en/library/mysql_real_connect.
## Not run:
library(DBI)
library(RMariaDB)
con1 <- dbConnect(MariaDB(), client.flag = CLIENT_COMPRESS)
con2 <- dbConnect(
MariaDB(),
client.flag = bitwOr(CLIENT_COMPRESS, CLIENT_SSL)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.