-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RMySQL system error: 10060 #193
Comments
Same issue, same sessionInfo. |
The same, here
The solutions stated at http://stackoverflow.com/questions/5755819/lost-connection-to-mysql-server-at-reading-initial-communication-packet-syste, did not work. In any case I do manage to connect mysql via python, so the problem with mysql configuration (localhost/127.0.0.1) or firewall denying the access, should not be the problem! |
Hi, the actual error is, "Failed to connect to database: Error: Lost connection to MySQL server at 'reading authorization packet', system error: 10060" I faced this issue with the version of R-3.3.3. |
Hi, I have the same problem. Here is my sessioninfo:
Error message:
|
I was able to fix this issue on my PC using R 3.4 by following [@page's advice][https://stackoverflow.com/questions/43073782/rmysql-system-error-10060] to look into the package versioning. However, not only did I need to install an earlier version of RMySQL (reverting from 0.10.11 to 0.10.9), I also needed to change versions on its dependancy package DBI (reverting from 0.6-1 to 0.5), using the following command:
|
Thanks, @jfrostad : ) I was almost giving up on RMySQL. Turns out i also had to roll back DBI... @jeroen, any news on this issue? RMySQL is crucial for my package, BETS, and users are not really comfortable with rolling back 2 packages after installing it. I might consider an alternative package, like RODBC, but I honestly prefer RMySQL |
You need to ask @krlmlr, he is maintaining |
Any updates on this? I have similar issues. I won't be able to rollback to the previous version of R or the package. @krlmlr |
This was originally posted on SO here:
http://stackoverflow.com/questions/43073782/rmysql-system-error-10060
I have a project with a connection that was working properly on the same device. I suddenly got the error below. And I could connect from the same device through MySQL workbench.
What could be the reason?
library(RMySQL)
con <- dbConnect(RMySQL::MySQL(),
host = "xxx",
dbname="yyy",
user = "zzz",
password = "############")
Error in .local(drv, ...) :
Failed to connect to database: Error: Lost connection to MySQL server at 'reading authorization packet', system error: 10060
And here's the session info
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RMySQL_0.10.10 DBI_0.4-1
loaded via a namespace (and not attached):
[1] tools_3.3.1
The text was updated successfully, but these errors were encountered: