解决问题:mysql 1040 too many connections

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

posted @ 2021-01-07 10:19  技术颜良  阅读(111)  评论(0编辑  收藏  举报