先查看默认是100
show variables like 'max_connections';
找到Mysql配置文件MY.INI,找到max_connections
修改成你需要的值
然后重启就可以了
Windows
1.点击“开始”->“运行”(快捷键Win+R)
2.启动:输入 net stop mysql
3.停止:输入 net start mysql
先查看默认是100
show variables like 'max_connections';
找到Mysql配置文件MY.INI,找到max_connections
修改成你需要的值
然后重启就可以了
Windows
1.点击“开始”->“运行”(快捷键Win+R)
2.启动:输入 net stop mysql
3.停止:输入 net start mysql