六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 44|回复: 0

增加mysql的最大连接数

[复制链接]

升级  61.33%

38

主题

38

主题

38

主题

秀才

Rank: 2

积分
142
 楼主| 发表于 2013-1-27 05:08:03 | 显示全部楼层 |阅读模式
<div class="content" style="padding-right: 10px; display: block; padding-left: 10px; padding-bottom: 0px; padding-top: 0px;">1,修改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
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表