因为没有匹配/etc/hosts.allow。
解决方法:
1、在hosts.allow 文件中添加 mysqld:ALL
[root@ucDB204 ~]# cat /etc/hosts.allow
mysqld:ALL
2、测试客户端连接(连接成功)
首页 > 技术文章 > mysql远程连接错误提醒:2013-Lost connection to MySQL server at ‘reading initial communication packet', system error: 0
1021lynn 2016-03-11 14:49 原文
因为没有匹配/etc/hosts.allow。
解决方法:
1、在hosts.allow 文件中添加 mysqld:ALL
[root@ucDB204 ~]# cat /etc/hosts.allow
mysqld:ALL
2、测试客户端连接(连接成功)