如何增加mysql的最大连接数

创云数据官方 云服务器相关 2016-09-07 848 次浏览 没有评论

修改my.ini

# 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

将它改成更大的数值,如500

发表评论

回顶部