解决问题:mysql 1040 too many connections

时间:2021-01-08 11:38:08   收藏:0   阅读:0

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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!