Discuz! info: Can not connect to MySQL server
Time: 2007-11-13 6:25pmScript: /bbs/index.php
Error: Can't connect to MySQL server on 'localhost' (10061)Errno.: 2003
Similar error report has beed dispatched to administrator before.正常情况下原因如下: 网站论坛访问量过大,数据库连接超过最大连接数.MYSQL数据库服务停止了.
解决方法(针对WIN系统):1, 首先到系统服务里面找到MYSQL服务并启动MYSQL服务.2, 到MYSQL安装目录找到MY.INI文件,打开MY.INI查找max_connections修改连接数为1000; 重启IIS与MYSQL服务.