一、问题现象

mysql远程连接报错

ERROR 1129 (HY000): Host '192.168.7.210' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

二、问题原因

一般max_connect_errors = 10,要调高错误连接的数量

三、解决方法

登录到要连接的数据中,进行如下配置

mysql> show variables like 'max_connect_errors';
mysql> set global max_connect_errors = 1000;                       # 如果想长期生效,并修改my.cnf配置文件
mysql> flush hosts;

相关文章:

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