Error: Can't connect to MySQL server on 'localhost' (10061)告訴你是怎麽回事?

Discuz! info: Can not connect to MySQL server

Time: 2007-11-13 6:25pm

Script: /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服務.

Can't connect to MySQL server on 'localhost' (10048)
您使用的是Windows操作系統,此錯誤與一個注冊表鍵值TcpTimedWaitDelay有關。減小Windows中TcpTimedWaitDelay時間可解決此類問題,默認情況下爲240(未設置的情況下也是這個數值) 此項設置需要到注冊表如下位置進行...查看完整版>>Can't connect to MySQL server on 'localhost' (10048)
 
今天也碰到了HTTP 500 Internal server error,終于解決 (關鍵字:HTTP 500 Internal server error ※ [code=CANT_CONNECT_LOOPBACK] )
關鍵字:HTTP 500 - Internal server error [code=CANT_CONNECT_LOOPBACK] Cannot connect due to potential loopback problems 今天用筆記本教育網內上網,然後回到宿舍後,再打開VS.NET的一個solut...查看完整版>>今天也碰到了HTTP 500 Internal server error,終于解決 (關鍵字:HTTP 500 Internal server error ※ [code=CANT_CONNECT_LOOPBACK] )
 
MySQL Query:Message:Can not connect to MySQL server-國內菜系
  MySQL Query: Message:Can not connect to MySQL server...查看完整版>>MySQL Query:Message:Can not connect to MySQL server-國內菜系
 
解決PHP問題:Fatal error: Call to undefined function: mysql_connect()
【問題來源】近日新裝一台RHEL AS3 的服務器;在安裝的時候,沒有選擇安裝數據庫(MYSQL)相關的包。由于RHELAE3自帶的MYSQL是3.23版本的,我想安裝的時候,當MOUNT光驅的時候整個系統就死掉鍵盤鼠標毫無反應遠程登錄...查看完整版>>解決PHP問題:Fatal error: Call to undefined function: mysql_connect()
 
Linux上 Can"t connect to X11 window server 錯誤解決方法
Linux上 Can"t connect to X11 window server 錯誤解決方法 Linux上 Can"t connect to X11 window server 錯誤解決方法 Exception in thread "main" java.lang.InternalError: Can't connect to X...查看完整版>>Linux上 Can"t connect to X11 window server 錯誤解決方法
 
Linux上 Can't connect to X11 window server 錯誤解決方法
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:11.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native...查看完整版>>Linux上 Can't connect to X11 window server 錯誤解決方法
 
常見的mysql錯誤:mysql error:2002 cann,t connect ...
安裝完系統後,想看看mysql行不行:[root@obwind root]# mysqlERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)然後到開始菜單的系統設置裏面,打開服務,但是沒有mysq...查看完整版>>常見的mysql錯誤:mysql error:2002 cann,t connect ...
 
ORA-00257: archiver error. Connect internal only, until freed.
   環境:winXP+Oracle9.2.0.1客戶端 win2003+oracle9.2.0.5服務端一、出錯過程:在客戶端執行以下語句:conn scott/tiger@pgjtdeclarei number; ...查看完整版>>ORA-00257: archiver error. Connect internal only, until freed.
 
ORA-00257: archiver error. Connect internal only, until freed.
ORA-00257: archiver error. Connect internal only, until freed. ORA-00257: archiver error. Connect internal only, until freed. 環境:winxp+oracle9.2.0.1客戶端 win2003+oracle9.2.0.5...查看完整版>>ORA-00257: archiver error. Connect internal only, until freed.
 
 
回到王朝網路首頁