Ubuntu18.04 Mysql 异常问题解决(二)

MySQL 数据库 1129错误

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

原因
在短时间内产生许多中断的数据库连接,导致阻塞;

解决方法
终端执行命令

sudo mysqladmin flush-hosts -h 127.0.0.1 -uroot -p

ps:修改max_connection_errors数值,不能解决根本问题

猜你喜欢

转载自blog.csdn.net/qq_43314560/article/details/112392230
今日推荐