blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

时间:2020-11-10 11:23:28   收藏:0   阅读:13

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 flush-hosts

 



set global sql_slave_skip_counter=1;
跳过
set global sql_slave_skip_counter=1062;
stop slave;
start slave;

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

set global sql_slave_skip_counter=1062;

 
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!