解决问题:mysql 异常编号 1040: too many connections

重启mysql 服务器service mysql restart

1.mysql -u root -p 回车输入密码进入mysql

2. 执行show variables like "max_connections"; 

3.执行set GLOBAL max_connections=1000; 

4.执行show variables like "max_connections"; 

5.退出mysql服务,exit


原文链接:https://blog.csdn.net/smd2575624555/article/details/86010183

posted on 2021-09-26 10:45  老暮  阅读(78)  评论(0)    收藏  举报

导航