-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
Description
hi
sessionInfo():
> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS Sierra 10.12.2
locale:
[1] zh_CN.UTF-8/zh_CN.UTF-8/zh_CN.UTF-8/C/zh_CN.UTF-8/zh_CN.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RMySQL_0.10.9 DBI_0.5-13
loaded via a namespace (and not attached):
[1] httr_1.2.1 R6_2.2.0 tools_3.3.2 withr_1.0.2
[5] curl_2.3 memoise_1.0.0 git2r_0.16.0 digest_0.6.10
[9] devtools_1.12.0
I try dbConnect method connect remote mysql,but always raise the error
conn <- dbConnect(RMySQL::MySQL(), host = "x.x.x.x", dbname = "xxx", username = "xxx", password = "xxx", port = 3306)
Error in .local(drv, ...) :
Failed to connect to database: Error: Access denied for user 'xxx'@'xxxx' (using password: YES)
I have try to searching google 、stack overflow, github rstats-db/rmysql /issues,but not fixed