我们本地的服务器使用docker部署的mysql,当网络变更后,发现服务集体报错,首先查询了数据库,容器内访问正常,局域网服务器无法访问,redis没有采用docker部署,访问正常,rabbitMq是docker部署,无法访问,猜测docker有问题,尝试重启mysql后,发现无效,最后预估是docker引擎引起的可能对内部网络有什么配置,关闭所有docker容器后,重启docker,再重启所有docker容器后,恢复正常。网上发现说的问题与之无关,所以记录该问题
相关文章
- 记一次Mysql报错2013 Lost connection to MySQL server at ‘handshake: 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 for initial communication packet‘
- 数据库连接报错-lost connection to mysql server at ‘reading initial communication packet’ system error:0
- 2013 - lost connection to mysql server at 'reading initial communication packet' 连接mysql报错
- lost connection to mysql server at "reading initial communication packet",system error:2
- 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
- 虚拟机中MySQL连接问题:Lost connection to MySQL server at 'reading initial communication packet, system error: 0 以及 host is not allowed to connect mysql