mysql的initial_mysql Lost connection to MySQL server at ‘reading initial communication packet
大量无法远程链接的问题
1.iptables 导致 看看iptables -L
2.
3.bind-adress
我发现
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
总结
以上是生活随笔为你收集整理的mysql的initial_mysql Lost connection to MySQL server at ‘reading initial communication packet的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 微软证实 Defender 又出故障,误
- 下一篇: mysql去除空格的函数_MySQL字符