Use for the client.flag
argument to dbConnect()
, multiple flags can be
combined with a bitwise or (see Logic). The flags are provided for
completeness.
The flags
argument at https://mariadb.com/kb/en/library/mysql_real_connect.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(DBI)
library(RMariaDB)
con1 <- dbConnect(MariaDB(), client.flag = CLIENT_COMPRESS)
con2 <- dbConnect(
MariaDB(),
client.flag = CLIENT_COMPRESS | CLIENT_SECURE_CONNECTION
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.