咨询热线:4006-75-4006

售前:9:00-23:30    备案:9:00-18:00    技术:7*24h

增加mysql最大连接数的修改方法

2018-05-09 15:16:59 15021次

在mysql安装目录中找到mysql的配置文件(windows中名为my.ini,linux系统一般名为my.cnf)
# The maximum amount of concurrent sessions the MySQL server will

# allow. One of these connections will be reserved for a user with

# SUPER privileges to allow the administrator to login even if the

# connection limit has been reached.

max_connections=100

将max_connections修改为适当的数值,如500,然后在重启mysql服务即可.


首页
最新活动
个人中心