mysql Lost connection to MySQL server at ‘reading initial communication packet
2017-03-10 17:30
621 查看
mysql 爆出,本地连接正常,远程链接无法链接,爆出错误
Lost connection to MySQL server at ‘reading initial communication packet大量无法远程链接的问题
1.iptables 导致 看看iptables -L2.mysqld 下增加
skip-name-resolve
我加了发现不行
看下面3.bind-adress
我发现mysqld 还有一句bind-address = ::ffff:127.0.0.1
Lost connection to MySQL server at ‘reading initial communication packet大量无法远程链接的问题
1.iptables 导致 看看iptables -L2.mysqld 下增加
skip-name-resolve
我加了发现不行
看下面3.bind-adress
我发现mysqld 还有一句bind-address = ::ffff:127.0.0.1
[mysqld]#bind-address = ::ffff:127.0.0.1local-infile=0datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sock# Disabling symbolic-links is recommended to prevent assorted security riskssymbolic-links=0# Settings user and group are ignored when systemd is used.# If you need to run mysqld under a different user or group,# customize your systemd unit file for mariadb according to the# instructions in http://fedoraproject.org/wiki/Systemdskip-name-resolve[/code]
相关文章推荐
- 2013 - Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0
- 解决lost connection to mysql server at reading initial communication packet
- Lost connection to MySQL server at ‘reading initial communication packet', system error: 0
- MySQL远程连接丢失问题解决方法Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0
- 有关Mysql出现Lost connection to MySQL server at 'reading initial communication packet', system error: 0的一个解决方案
- Lost connection to MySQL server at 'reading initial communication packet' 错误解决
- mysql报错:Lost connection to MySQL server at 'reading initial communication packet'
- 遇见Lost connection to MySQL server at 'reading initial communication packet',system error:0的解决办法
- Lost connection to MySQL server at 'reading initial communication packet' 错误解决
- Lost connection to MySQL server at 'reading initial communication packet', system error: 111 (MySQL
- MySQL error: 2013, “Lost connection to MySQL server at 'reading initial communication packet', syste
- 2013 Lost connection to MySQL server at 'handshake: reading initial communication packet'
- Lost connection to MySQL server at ‘reading initial communication packet
- Lost connection to MySQL server at ‘reading initial communication packet’
- Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111
- Lost connection to MySQL server at ‘reading initial communication packet
- ubuntu下连接mysql时报错:Lost connection to MySQL server at 'reading initial communication packet', system
- Lost connection to MySQL server at 'reading initial communication packet et system error:0
- [Err] [Dtf] 2013 - Lost connection to MySQL server at 'reading initial communication packet', 复制数据问题
- Lost connection to MySQL server at ‘reading initial communication packet', system error: 0 mysql远程连接