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

来源:互联网 发布:希特勒侄女知乎 编辑:程序博客网 时间:2024/06/06 06:52

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,就可以解决.

0 0
原创粉丝点击