Mysql – ERROR Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)

innodbMySQLmysql-5.6replication

We are facing the issue in replication that we are not getting any error in Show slave status\G output rather facing the following issue in Error Log File

[ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)

Data for some tables is not being populated from Master Server and Slave does not update it self from the master.

We are using windows 2008 R2 and on Master Version is 5.6.19 and on Slave it is 5.6.26

Things looked so far are as below:
1. Change the master heartbeat value but it didn't work
2.increased the slave_net_timeout, Increased max_allowed_packet on master and slave
3.Rebuilding Slave
4.Slave user permissions are also correct
5.Ping and telnet from both server also works and windows firewall is off

Any help is much appreciated

Best Answer

Your network connectivity from slave to master was lost due t some reason and after the Try the following: STOP SLAVE; START SLAVE;