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

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -