mysql连接失败或出现“Too many connections”错误
2014-02-27 01:31
525 查看
mysql连接失败或出现“Too many connections”错误
# 按自己服务器的配置文件路径修改
vi /etc/my.cnf
查找:max_connections
修改为:max_connections = 1000
默认值:100
最大值:16384
即该参数最大值不能超过16384,即使超过也以16384为准;
增加max_connections参数的值,不会占用太多系统资源。
系统资源(CPU、内存)的占用主要取决于查询的密度、效率等;
# 按自己服务器的配置文件路径修改
vi /etc/my.cnf
查找:max_connections
修改为:max_connections = 1000
默认值:100
最大值:16384
即该参数最大值不能超过16384,即使超过也以16384为准;
增加max_connections参数的值,不会占用太多系统资源。
系统资源(CPU、内存)的占用主要取决于查询的密度、效率等;
相关文章推荐
- mysql连接失败或出现“Too many connections”错误
- mysql出现too many connections错误提示
- mySql连接,出现too many connection 错误
- MySQL出现too many connections(1040)错误的解决办法
- dedecms mysql连接错误:#1040 - Too many connections
- MySQL出现too many connections(1040)错误的解决办法
- 出现Too many connections错误,怎样解决?
- 解决mysql 1040错误Too many connections的方法
- 解决mysql 1040错误Too many connections的方法
- dbexpress 4 + mysql 5 出现Too more connections的错误,解决办法说明
- 解决mysql集群模式中出现“1040,too māny connections”
- 解决mysql 1040错误Too many connections的方法
- HiveServer2连接ZooKeeper出现Too many connections问题的解决
- Mysql 错误too many connections解决方案
- mysql "too many connections" 错误 之 mysql解决方法
- mysql "too many connections" 错误 之 mysql解决方法
- 解决 - MySQL错误 Error 1040: Too Many Connections
- mysql 错误 ERROR 1040 (00000): Too many connections
- MYSQL Too many connections错误的解决办法
- 解决Mysql错误1040 Too many connections的方法