无法连接:在“读取初始通信数据包”时失去与MySQL服务器的连接,系统错误:0 [英] Could not connect: Lost connection to MySQL server at 'reading initial communication packet', system error: 0
本文介绍了无法连接:在“读取初始通信数据包”时失去与MySQL服务器的连接,系统错误:0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我运行一个Rails应用程序,现在我试图远程连接到mysql,我得到这个错误
无法连接:在读取初始通信数据包丢失连接到MySQL服务器,系统错误:0
I am running a Rails app so now I am trying to remote connect to mysql and I am getting this error Could not connect: Lost connection to MySQL server at 'reading initial communication packet', system error: 0
推荐答案
您可以检查您的 /etc/hosts.deny :
ALL: ALL: DENY
$ b b
或
or
mysqld: ALL: DENY
是你的敌人。
这篇关于无法连接:在“读取初始通信数据包”时失去与MySQL服务器的连接,系统错误:0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文