数据库的一台从产生大量的如下错误:
140121 13:56:07 [Note] Slave: received end packet from server, apparent master shutdown:
140121 13:56:07 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log ‘mysql-bin.003062′ at postion 220648071
140121 13:56:09 [Note] Slave: received end packet from server, apparent master shutdown:
140121 13:56:09 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log ‘mysql-bin.003062′ at postion 220718334
140121 13:56:10 [Note] Slave: received end packet from server, apparent master shutdown:
140121 13:56:10 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log ‘mysql-bin.003062′ at postion 221074239
140121 13:56:12 [Note] Slave: received end packet from server, apparent master shutdown:
原来slave上的my.cnf 配置文件是一台台拷贝的,忘记修改server-id值,导致server-id值相同,server-id值一定保持唯一。