用mysql连接工具报
"Host '10.250.112.141' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"
用java程序控制台报
解决办法:
使用mysqladmin flush-hosts 命令清理一下hosts文件
如果是安装在Linux系统上执行命令:
/usr/bin/mysqladmin flush-hosts -h localhost -uroot -p