mysql同步报错跳过处理 blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

Last_IO_Errno: 1129
Last_IO_Error: error connecting to master 'slavetest@xxx.xxx.xxx.xx:6612' - retry-time: 60 retries: 1 message: Host 'xxx.xxx.xxx.xx' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

 

执行: mysqladmin  -uroot  -p  flush-hosts


跳过1次

stop slave;
set global sql_slave_skip_counter=1;
start slave;
show slave status \G


set global slave-skip-errors=1062;
stop slave;
start slave;

set global slave-skip-errors=all
slave-skip-errors=all

 

posted @ 2020-11-09 23:19  霸王龙的日常  阅读(370)  评论(0)    收藏  举报