如何增加mysql的最大连接数

修改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

Copyright © 2014 - 2021 創雲信息科技(國際)電信集團 All Rights Reserved