mysql远程连接错误提醒:2013-Lost connection to MySQL server at ‘reading initial communication packet', system error: 0

因为没有匹配/etc/hosts.allow

解决方法:

1、在hosts.allow 文件中添加  mysqld:ALL

[root@ucDB204 ~]# cat /etc/hosts.allow
mysqld:ALL

2、测试客户端连接(连接成功)

posted @ 2016-03-11 14:49  king0819  阅读(6680)  评论(0)    收藏  举报