从库报错:
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;