Cannot Connect Mysql Error 10060
Contents |
Community Podcasts MySQL.com Downloads Documentation Section Menu: MySQL Forums :: MySQL Administrator :: ERROR 2003: Can't connect to MySQL server (10060) New Topic Advanced Search Solution to Connecting remotely cannot connect to mysql server 10060 when you get Error 10060 Posted by: Mohamed Infiyaz Zaffer Khalid () Date:
Mysql Error 10060 Can't Connect
December 25, 2008 09:50PM Hello everyone, this problem is pretty simple to solve. If you're getting error 10060, 10060 mysql error code this means that you ARE NOT ALLOWED to access the web server remotely. Usually we (I mean, I) access the mysql databases using php and this is on the SAME server.
Mysql Workbench Error 10060
Thus we use 'localhost' to connect. But if you were to for example access the same web database using a local machine running VB, the story is different. First, here's what you should NOT do. I'm saying this because I noticed some responses had these as action steps. So, 1. DON'T change any ports 2. DON'T close existing ports and reopen new ones connect error 10060 outlook as it may affect other apps. 3. DON'T disable any firewalls. Now here's what you MUST do: 1. on your connection string, make sure that you're using the SERVER'S correct IP. On the other hand, you can use the domain name, and this is what I do. 2. The rest of the parameters are the same. I mean they're what you want or have set. 3. NOW the critical thing. First you've got to tell your web server that you need to accept remote connections. You can easily do this using the cpanel. When you're asked for the remote host name, type in % (the percentage sign) to mean ANY HOST. 4. Finally, you may have to tell the web server's firewall that you're making a remote connection from your machine. To do this, cpanel allows you to add your own IP into a 'white list'. In most cases, cpanel shows you a list of class C IPs and your one should be there. Select it. Save the settings. Now go into your app and run the program - eg: in VB. Should work j
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
Connect Error 10060 Thunderbird
the workings and policies of this site About Us Learn more about
Cannot Connect To Mysql Server 10061
Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions 2003, can't connect to mysql server on (10060) Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up http://forums.mysql.com/read.php?34,49742,239961 Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Remote MySQL connection fails (10060) up vote 7 down vote favorite 4 When I am trying to connect to a MySQL database from a remote computer I get a prompt saying: Connection Failed: [HY000] [MySQL][ODBC 5.1 Driver]Can't http://serverfault.com/questions/137418/remote-mysql-connection-fails-10060 Connect to MySQL server on 'XXX.XXX.XX.XX' (10060) I have created a user account in the MySQL Administrator and added a host to enable remote access, I have also made an exception for my Windows Firewall on port 3306 but the connection still fails. What is the problem? Thanks! mysql remote-access odbc share|improve this question asked Apr 30 '10 at 12:41 migrated from stackoverflow.com Apr 30 '10 at 14:23 This question came from our site for professional and enthusiast programmers. 1 Not a programming related question, but anyway, check if the remote computer is able to connect to any other service running on the same computer you're running the MySQL server. I doubt it is however. Very likely to be a NAT problem. –jweyrich Apr 30 '10 at 12:51 @jweyrich: You were very right, the ISP have blocked all ports but 21, 80 and 3389. –Anonymous May 1 '10 at 9:12 add a comment| 7 Answers 7 active oldest votes up vote 3 down vote I suppose your mysql server is running on Windows
MySQL forum. http://forums.mysql.com/read.php?34,49742,239961#msg-239961 I found the problem: i had not added the MySQL Server port in firewall's exception list. //<-------part 2 Actually there is no MySQL error with no. 10060. The actual error no. is at the begninning of https://indiandeve.wordpress.com/2009/08/04/mysqlcant-connect-to-mysql-server-10060-from-remote-client/ the error message.(may be ERROR 2003 etc.) Typically this kind of error message you see due to authentication issues. There could be many reason: 1. The MySQL server isn't running. 2. Port at which MySQL server is listening is blocked for you. 3. Port at which MySQL server is listening cann't accept any connection from outside world due to Firewall. Actually if it is a problem due to Firewall, no need to turn off firewall, you error 10060 just have to include MySQL listeining port in to unblock/exception list of firewall. If your MySQL server is running on windows xp, following is the way to deal with firewall problem: 1. Go to Control Panel -> Windows Firewall (Windows Firewall dialog gets open.) 2. Go to Exceptions Tab and click on ‘Add Port…'(Add a Port dialog gets open.) 3. Give the appropriate name.(e.g., MySQL) 4. Give the listening port of MySQL.(Most commonly 3306) 5. Also make connect to mysql sure TCP radio button is selected. Here is the complete tutorial on how to add a port to Firewall exception list on windows xp. If sill problem persist refer MySQL documentation, on mysql website for problem regarding MySQL server connection problem. //-------> modification history: 1. Nov 18, 2009: Due to lot of visit to this post, i added more detail as part 2. please let me know if this post is useful. Like this:Like Loading... Related Published in: MySQL on August 4, 2009 at 1:56 pm Comments (14) Tags: 10060, 10060 on windows xp, Can't connect to MySQL server, from remote client, MySQL, MySQL problem The URI to TrackBack this entry is: https://indiandeve.wordpress.com/2009/08/04/mysqlcant-connect-to-mysql-server-10060-from-remote-client/trackback/ RSS feed for comments on this post. 14 CommentsLeave a comment On August 25, 2009 at 7:22 pm Hariharan T G said: You'll need to ask whoever's hosting the server as they are denying the connection Reply On August 26, 2009 at 10:23 am falaque said: Thanks Hariharan, i found the solution🙂 Reply On January 25, 2010 at 3:09 pm Sahid said: Yes this post works, thanks alot😀 Reply On February 5, 2010 at 2:00 am Vikram Thakur said: Thanx, Your reply was helpful. MySQL was not accepting the connection from the remote machine due to firewall. I added the port in firewall, Its working fine now. Thanks again. Reply On July 28, 2010