当连接错误次数过多时,MySql会禁止客户机连接
报错
ERROR 1129 (00000): Host 'XXXXXX' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
解决方法.使用mysqladmin flush-hosts命令清除缓存,命令执行方法如下:
命令行或终端:
mysqladmin -u root -pflush-hosts
接着输入root账号密码即可
当连接错误次数过多时,MySql会禁止客户机连接
报错
ERROR 1129 (00000): Host 'XXXXXX' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
解决方法.使用mysqladmin flush-hosts命令清除缓存,命令执行方法如下:
命令行或终端:
mysqladmin -u root -pflush-hosts
接着输入root账号密码即可