Rootop 服务器运维与web架构

ERROR 1129 (HY000): Host ‘192.168.10.111’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’

| 暂无评论

mysql主从,从库启动服务以后,发现无法连接主库。
mysql提示:Last_IO_Error: error connecting to master ‘rep@192.168.10.111:3306’ – retry-time: 60 retries: 86400

[root@xxx ~]# mysql -uroot -pxxx -h192.168.10.111
ERROR 1129 (HY000): Host ‘192.168.10.111’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’
通过远程连接mysql提示被拒绝了,原因是太多的错误连接。
在主库执行: mysqladmin -uroot -pxxx flush-hosts 清空锁定的地址
从库stop再start一下即可。

原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/2679.html

作者:Venus

服务器运维与性能优化

发表回复