码迷,mamicode.com
首页 > 数据库 > 详细

如何增加mysql的最大连接数

时间:2017-04-15 18:02:56      阅读:232      评论:0      收藏:0      [点我收藏+]

标签:max   my.ini   数值   connect   str   连接数   reserve   current   one   

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

转自江苏三艾网络

如何增加mysql的最大连接数

标签:max   my.ini   数值   connect   str   连接数   reserve   current   one   

原文地址:http://www.cnblogs.com/panhutu/p/6714977.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!