赞
踩
重启mysql 服务器 (systemctl restart mysqld.service)
1、mysql -u root -p 回车输入密码进入mysql
2、执行show variables like "max_connections";
3、执行set GLOBAL max_connections=10000;
4、执行show variables like "max_connections";
此时就解决了!
注意:mysql服务器重启之后就会恢复默认的最大连接!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。