1129 – Host ” is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’

前言

远程调试MYSQL的时候,提示链接过多被阻塞

操作方法

1、首先在SSH里登录上MYSQL

mysql -u root -p

2、查看 max_connection_errors,默认为10

show variables like '%max_connection_errors%';

3、修改max_connection_errors的数量为1000(立即生效)

set global max_connect_errors = 1000;

4、在my.cnf中[mysqld]下添加(重启后不失效)

max_connect_errors = 1000

 

版权声明:
作者:三炮不吃鱼
链接:https://www.qkeke.com/archives/2059.html
来源:小可博客
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
海报
1129 – Host ” is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’
前言 远程调试MYSQL的时候,提示链接过多被阻塞 操作方法 1、首先在SSH里登录上MYSQL mysql -u root -p 2、查看 max_connection_errors,默认为10 show variab……
<<上一篇
下一篇>>