2012-02-08 260 views
1

大家好我試圖建立在Dreamweaver中一個MySQL連接到Web服務器,但不斷收到錯誤:連接嘗試失敗,錯誤

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

我怎樣才能解決這個問題?

當我在真正的網絡服務器上測試它時,連接似乎工作正常,但是當我從本地Web服務器上運行它時不起作用(關閉127.0.0.1)。可能是什麼問題呢?

回答

1

你能從命令行連接嗎? mysql -u your_user -p -h主機如果你遠程連接你的mysql用戶,應該有一個特定的GRANT,它指定你從

連接的IP
相關問題