LoginSignup
0
0

More than 5 years have passed since last update.

ServerCAを指定してRでmysql接続

Posted at

ssl-ca を設定ファイルで指定する


#必要パッケージのロード
library("DBI")
library("RMySQL")

dbconnector <- dbConnect(dbDriver("MySQL"),default.file="C:/SSL/mysql.cnf")
mysql.cnf
[client]
host=XXXXXXXXXXX
dbname=XXXX
user=XXX
password=XXXXXXXXXXXXXXXX
ssl-ca=c:/ssl/rds-combined-ca-bundle.pem
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0