美文网首页
2021-06-29message from server: "

2021-06-29message from server: "

作者: Kason晨 | 来源:发表于2021-06-29 10:16 被阅读0次

报错内容:

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: "

      本文链接:https://www.haomeiwen.com/subject/aephultx.html