错误信息:

unblock with 'mysqladmin flush-hosts'

这个错误导致我无法远程连接MySQL(使用navicat或sqlyog等mysql客户端工具)

解决办法:
修改max_connect_errors的值

(1)进入Mysql数据库查看max_connect_errors:
> show variables like '%max_connect_errors%';
(2)修改max_connect_errors的值:
> set global max_connect_errors = 100;
(3)查看是否修改成功
> show variables like '%max_connect_errors%';

参考资料:
mysql出现unblock with ‘mysqladmin flush-hosts’

相关文章:

  • 2021-08-19
  • 2022-02-18
  • 2021-12-15
  • 2021-11-01
  • 2021-05-24
  • 2021-09-28
猜你喜欢
  • 2022-01-01
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
  • 2022-03-09
  • 2021-04-04
  • 2021-05-16
相关资源
相似解决方案