Open hieuhtr opened 7 years ago
14657
system lock
/var/log/mysql/error.log
(server_errno=2013)
max_allowed_packet
net_read_timeout
mysql> SHOW variables like `net_read_timeout` mysql> SET GLOBAL `net_read_timeout` = 360;
Issue:
14657
system lock
/var/log/mysql/error.log
: Error reading packet from server: Lost connection to MySQL server during query(server_errno=2013)
Root cause:
max_allowed_packet
value in slave is too smallSolution:
net_read_timeout
from 10 to 360max_allowed_packet
from 4MB to 8MBThink more
Reference: