码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2020-11-10 11:23:28      阅读:13      评论:0      收藏:0      [点我收藏+]

标签:sts   sql   div   mys   stop   flush   oba   glob   message   

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;

 

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

标签:sts   sql   div   mys   stop   flush   oba   glob   message   

原文地址:https://www.cnblogs.com/connected/p/13951599.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!