写在最前面的话:
今天删除了pxc数据库集群,然后重新创建了pxc集群,之后连接h1和h2时突然报错Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0:
解决思路:
1、查看日志
docker logs h1
2、分析日志
[WARNING] 098/144528 (1) : Exiting Master process…
[WARNING] 098/144531 (8) : Stopping proxy admin_stats in 0 ms.
[WARNING] 098/144531 (8) : Stopping proxy proxy-mysql in 0 ms.
[WARNING] 098/144531 (8) : Stopping frontend GLOBAL in 0 ms.
[WARNING] 098/144531 (8) : Proxy admin_stats stopped (FE: 2 conns, BE: 1 conns).
[WA
版权声明:本文为weixin_42302872原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。