码迷,mamicode.com
首页 > 数据库 > 详细

Mysql 连接出错" unblock with ‘mysqladmin flush-hosts'"

时间:2015-02-10 18:49:53      阅读:265      评论:0      收藏:0      [点我收藏+]

标签:mysql

Mysql 连接出错" unblock with ‘mysqladmin flush-hosts’”

在mysql cluster 连接的出错:
java.sql.SQLException
MESSAGE: null, message from server: “Host ‘192.168.39.147’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’”
是因为mysql 最大连接数超过了其设置的值.
解决办法:
在mysql服务器上运行:mysqladmin flush-hosts,就可以解决.

Mysql 连接出错" unblock with ‘mysqladmin flush-hosts'"

标签:mysql

原文地址:http://blog.csdn.net/a105421548/article/details/43705207

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!