2014-09-04 116 views
1

我有一個正確的噩夢嘗試將Microsoft Access鏈接到MySQL。[hy000] [mysql] [odbc 3.51驅動程序]無法連接到'mysql8.namesco.net'上的MYSQL服務器(10061)

我選擇了ODBC 3.51連接到MySQL的訪問

需要

詳情:
TCP/IP - mysql8.namesco.net或IP地址
命名管道 - BLANK
用戶名 - **
密碼 - **

端口 - 3306(默認)
數據庫名稱

後,我進入了上述信息提示我有以下錯誤:

Connection failed:[hy000][mysql][odbc 3.51 driver]Cant connect to MYSQL server on 'mysql8.names.net' (10061)
/

我得到同樣的錯誤,當我使用ODBC 5.1驅動:

Connection failed:[hy000][mysql][odbc 5.1 driver]Cant connect to MYSQL server on 'mysql8.names.net' (10061)

我不知道是什麼我做錯了!

解決此問題的任何幫助將是驚人的!

+0

如果它是一個託管服務器,你需要登錄到你的cPanel並在允許的IP範圍內添加你的外部IP來連接數據庫。還有許多主機有訪問數據庫的獨立ip。如下面的答案說,提高您的託管支持票,並尋求幫助 – 2014-09-04 12:44:36

回答

0

你可以在你的機器上ping MySQL服務器嗎?你能用任何其他MySQL客戶端從你的機器連接到MySQL嗎?

有時像hosting.co.uk這樣的託管公司把他們的MySQL服務器放在防火牆後面。如果您需要從數據中心之外的某個地方訪問,則可能需要諮詢他們的技術支持。

Max Thorley: How do i ping? is it telnet IP address? I contacts names to allow remote access. I gave them my public facing IP and IPv4 (which i believe is static)??
This what I get with telnet C:\Users\max.thorley>telnet 192.168.35.24 Connecting To 192.168.35.24...Could not open connection to the host, on port 23: Connect failed C:\Users\max.thorley>telnet mysql9.namesco.net Connecting To mysql9.namesco.net...Could not open connection to the host, on por t 23: Connect failed

嘗試telnet mysql9.namesco.net 3306以查看您是否可以訪問MySQL端口。你可能不能。如果你不能到達它,你會得到一個類似的消息,你與其他telnet嘗試。這意味着您的託管服務已經阻止了MySQL服務器。如果你能得到它,你會得到一些亂碼,看起來大致是這樣的:

5.5.5-MySQL 
      %\~)L%q? $p*}X!73:i%wmysql_native_password 

你可能無法去它。這是常見的託管服務實踐,因爲它是一個共享服務器,並且對MySQL服務器裝入拒絕服務攻擊並不困難。再次,您需要諮詢您的技術支持。

if its a hosting server you need to log into your cpanel and add your external ip in the allowed ip range to connect the databases. also many hosting have standalone ip for accessing database. as below answer says raise ticket to your hosting support and ask for help – krish KM

+0

我如何平?它是telnet的IP地址嗎?我聯繫了名字以允許遠程訪問。我給他們我的公衆面臨IP和IPv4(我認爲這是靜態的)??
這是我通過telnet
Ç得到:\用戶\ max.thorley>的telnet 192.168.35.24 連接爲192.168.35.24 ......無法打開連接到主機,端口23: 連接失敗 C:\ Users \ max.thorley> telnet mysql9.namesco.net 連接到mysql9.namesco.net ...無法打開連接到主機,在 t 23:連接失敗 – 2014-09-04 11:51:19

相關問題