1.问题描述
message from server: "Host ‘XXXX’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’
2.错误原因
同一个ip在短时间内产生太多(超过mysql数据库max_connection_errors的最大值)中断的数据库连接而导致的阻塞
3.解决方案
登录mysql:mysql -uroot -p
清除缓存:flush hosts; 需要;
4.文章参考链接
https://www.cnblogs.com/hanmk/p/8690029.html
mysql连接报错: "xxx" is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
最新推荐文章于 2024-05-06 18:06:06 发布