mysql errors:message from server: "Host 'xxx' is blocked because of many connection errors; unblock
忽然一天,数据库连接抛了异常:null, message from server: "Host 'PC-20130201IBXI' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"
·
忽然一天,数据库连接抛了异常:null, message from server: "Host 'PC-20130201IBXI' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"。
话说是同一IP短时间内连接数据库太多二致,记得以前也出现过这种错,解决办法记下(windows机器):
1:登录mysql控制台:mysql -uroot -p
2:flush hosts
网上很多解决方案都试过,不是报错就是无效,试了好久,以上是适合我机器的解决方案。
更多推荐
已为社区贡献2条内容
所有评论(0)