==Error: failed to execute query ‘SHOW MASTER STATUS’: 2013 (HY000) Lost connection to MySQL server during query==
解决办法
1.首先查看max_allow_packet如果是默认值修改配置文件新增如下
2.如果上面无法解决,查看连接状态读写超时时间是否配置过小,默认net_read_timeout 30s,net_write_timeout 60s
[……]
==Error: failed to execute query ‘SHOW MASTER STATUS’: 2013 (HY000) Lost connection to MySQL server during query==
解决办法
1.首先查看max_allow_packet如果是默认值修改配置文件新增如下
2.如果上面无法解决,查看连接状态读写超时时间是否配置过小,默认net_read_timeout 30s,net_write_timeout 60s
[……]