Last_IO_Errno: 1032或者 Last_IO_Errno: 1062

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

猜你喜欢

转载自blog.csdn.net/zzhlinux911218/article/details/89679763