mysql 同一IP 产生太多终端的数据库连接导致阻塞

问题:null, message from server: "Host 'ip' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

原因:同一个ip在短时间内产生太多(超过mysql数据库max_connection_errors的最大值)中断的数据库连接而导致的阻塞;


解决方案:
进入命令行 到mysql安装目录,bin文件夹下执行 
mysqladmin -u username -p flush-hosts
输入password
password:

原文地址:https://www.cnblogs.com/maxm/p/5574560.html