Mysql 远程连接错误一"Host 'xxx' is blocked because of many connection errors"

错误:Host 'xxx' is blocked because of many connection errors
原因:MySQL服务器已经从某个host接收了大量中途终止的连接,于是决定终止继续接收来自该host的连接。允许最大的连接错误数为max_connect_errors,通过show variables like max%命令可以查询,一般为10。
解决方法:
mysql -uroot -pxxx;
flush hosts;

猜你喜欢

转载自xiaofengyu.iteye.com/blog/2071058