從庫報錯:
Last_IO_Errno: 1032
或者:
從庫報錯:
Last_IO_Errno: 1062
mysql> stop slave;
vim /etc/my.cnf
slave_skip_errors = 1032,1062
/etc/init.d/mysql start
mysql> start slave;
mysql> show slave status\G;
同步完成後,再 mysql> stop slave;
/etc/init.d/mysql stop
刪除這行:
vim /etc/my.cnf
slave_skip_errors = 1032,1062
/etc/init.d/mysql start
mysql> start slave;
mysql> show slave status\G;