解决mysql 1040错误Too many connections的方法
解决mysql 1040错误Too many connections的方法
2007-03-08 16:28
你的服务器是不是经常出现这样的错误呢?可能是过一两天出现一次,也可能是一两个小时出现一次。
从官方文档知道linux上面编译安装的mysql默认的连接为100个,这样对于网站的需求来说是远远不够的。 文档: http://dev.mysql.com/doc/refman/5.0/en/too-many-connections.html If you get a The number of connections allowed is controlled by the [mysqld] 由于对mysql还不是很熟悉,所以很多参数没有修改。哈哈。。 2、非使用mysqld脚本自动启动的用户。 |
还没有评论,来说两句吧...