R RMySQL cannot read myconfig.cnf -
i'm trying read file myconfig.sys mysql r rmysql without success. objective save user , password file.
i did file in mysql mysql_config_editor:
shell> mysql_config_editor set –login-path=test_db –host=localhost –user=root --password
to simplify placed myconfig.cnf in root directory c:/
.
in r rmysql did follow:
a <- "c:/mylogin.cnf" con <- dbconnect(mysql(), default.file=a, group='test_db', user=null, password=null)
when r run, session aborted, making extremely difficult know happened.
my system: win 7 prof – 64 b r 3.2.0 rmysql 0.10.9 rstudio 0.99.441 mysql 57 mysql workbench community (gpl) windows version 6.3.6 ce build 511 (64 bit)
Comments
Post a Comment