检查
# 查看当前所有连接mysql> show full processlist;# 查看MySQL连接设置mysql> show variables like '%connect%';
解决方法
调高连接数
编辑配置文件
[mysqld]max_connections=1000max_user_connections=850max_connect_errors=1000max_allowed_packet=100M
时间:2019-06-20 22:26:44
# 查看当前所有连接mysql> show full processlist;# 查看MySQL连接设置mysql> show variables like '%connect%';
调高连接数
[mysqld]max_connections=1000max_user_connections=850max_connect_errors=1000max_allowed_packet=100M
mysql “too many connections” 错误 之 mysql解决方法
2024-03-22
mysql too many open connections问题解决方法【MySQL】
2020-04-12
解决mysql 1040错误Too many connections的方法
2019-06-17
解决Mysql错误1040 Too many connections的方法
2020-11-28