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;

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章