25. pt-slave-restart

pt-slave-restart -h 192.168.100.103 -P 3306 -u admin -p admin \
--error-numbers 1032

set global slave_parallel_workers=0;


指定从库的地址,错误的号码,批量跳过,不能一个个的跳过,并行复制不可用。

慎用,还是要分析原因,自己解决。

猜你喜欢

转载自www.cnblogs.com/cyberbit/p/pt-slave-restart.html