unblock with 'mysqladmin flush-hosts'"解决办法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011277745/article/details/84061522

mysql  报错java.sql.SQLException: null,  message from server: "Host 'xx.xx.xx.xx' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"

解决方案:

mysqladmin  -u  root  -p  flush-hosts

输入数据库密码即可!

猜你喜欢

转载自blog.csdn.net/u011277745/article/details/84061522