先查看默认是100
show variables like 'max_connections';
找到Mysql配置文件MY.INI,找到max_connections
修改成你需要的值
然后重启就可以了
Windows
1.点击“开始”->“运行”(快捷键Win+R)
2.启动:输入 net stop mysql
3.停止:输入 net start mysql
本文将指导您如何通过修改MySQL配置文件MY.INI中的max_connections参数来调整最大连接数,并提供针对Windows系统的详细步骤,确保您的数据库服务稳定运行。
先查看默认是100
show variables like 'max_connections';
找到Mysql配置文件MY.INI,找到max_connections
修改成你需要的值
然后重启就可以了
Windows
1.点击“开始”->“运行”(快捷键Win+R)
2.启动:输入 net stop mysql
3.停止:输入 net start mysql

被折叠的 条评论
为什么被折叠?