MySQL连接的时候报 ERROR 1129

700阅读 0评论2015-08-26 龙飞九州
分类:Mysql/postgreSQL

问题说明:通过mysql命令连接mysql数据库的时候报了ERROR 1129的错误;

错误说明:ERROR 1129 (HY000): Host 'mysql02' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

错误原因:同一个ip在短时间内产生太多中断的数据库连接而导致的阻塞(超过mysql数据库max_connection_errors的最大值)

解决方法:[root@mysql01 script]# mysqladmin flush-hosts -h 127.0.0.1 -uroot -p

Enter password:

上一篇:OpenOffice linux 安装
下一篇:KVM性能测试报告