2021-06-29message from server: "Host 'XXXX' is blocked because of many connection errors

报错内容:

java.sql.SQLException: null, message from server: "Host '10.21.5.91' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"

原因:

数据库多次 错误连接 造成 屏蔽了当前ip连接数据库的请求

解决方式1:

选中数据库----刷新----权限


解决方式2:

1:登录mysql控制台:mysql -uroot -p
2:flush hosts

你可能感兴趣的:(2021-06-29message from server: "Host 'XXXX' is blocked because of many connection errors)