mysql错误

message from server: "Host '114.242.17.65' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"

产生这样的错误是由于同于个ip连接数据库错误次数过多而造成的mysql的最大错误连接数阻塞;

简单有效的方法:

使用:mysql -u root -p 进入mysql;

然后执行flush hosts;   //连接的最大错误数清理零;

然后就可以连上了;

据说还有方法二:重启mysql服务,本人没试过

猜你喜欢

转载自1069843121.iteye.com/blog/2409062
今日推荐