stop slave;
set global sql_slave_skip_counter=1;(跳过一条记录数)
start slave;
show slave status \G
本文转自aaron428 51CTO博客,原文链接:http://blog.51cto.com/aaronsa/1741484,如需转载请自行联系原作者
本文介绍了一种解决MySQL从库同步过程中遇到的问题的方法。通过使用特定命令跳过错误记录,确保了数据同步的正常进行。
stop slave;
set global sql_slave_skip_counter=1;(跳过一条记录数)
start slave;
show slave status \G

被折叠的 条评论
为什么被折叠?