MySql Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
原因是:
同一个ip在短时间内产生太多(超过mysql数据库max_connection_errors的最大值)中断的数据库连接而导致的阻塞
解决方法:
/usr/bin/mysqladmin flush-hosts -h172.0.0.1 -P3306 -uroot -prootpwd;
也可以root登录到mysql
执行:flush hosts;