今天在使用Navicat连一个远程mysql时,总是提示连接不成功,提示Lost connection to MySQL server at reading initial communication packet但mysql服务已经启动百度查之,终于找到解决方法如下:修改ho ...
今天在使用Navicat连一个远程mysql时,总是提示连接不成功,提示Lost connection to MySQL server at 'reading initial communication packet
但mysql服务已经启动
百度查之,终于找到解决方法如下:
修改hosts.allow
vi /etc/hosts.allow#加mysqld : ALL : ALLOWmysqld-max : ALL :ALLOW
原标题:快速解决mysql Lost connection to MySQL server at reading initial communication packet及cant connect to mysql server on localhost
关键词:MYSQL
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。