Odbc Error 10060 Mysql
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 cannot connect to mysql server 10061 Connecting remotely when you get Error 10060 Posted by: Mohamed Infiyaz Zaffer
2003, Can't Connect To Mysql Server On (10060)
Khalid () Date: December 25, 2008 09:50PM Hello everyone, this problem is pretty simple to solve. If you're getting aws mysql 10060 error 10060, 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
Mysql Workbench Connection Error 10061
the SAME server. 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 cannot connect to mysql server on localhost 10061 windows 7 existing ports and reopen new ones 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 ap
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers
Mysql Cpanel
or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server
Error 2003 Can't Connect To Mysql Server On 'localhost' (10061)
Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: connection failed: can't connect to mysql server on (110) 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 http://forums.mysql.com/read.php?34,49742,239961 database from a remote computer I get a prompt saying: Connection Failed: [HY000] [MySQL][ODBC 5.1 Driver]Can't 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 http://serverfault.com/questions/137418/remote-mysql-connection-fails-10060 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...thus open a DOS window and type: netstat -an You should find a row like this: TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING This tell you that mysql server is running and listening on TCP port 3306. Another test you can do is to telnet (from another pc) to your mysql server: telnet ip_mysql_server 3306 This should open a telnet session: Connected to server_name. Escape character is '^]'. 5.0.XX-community-nt-log share|improve this answer edited Sep 8 '15 at 5:48 TallTed 19917 answered Apr 30 '10 at 14:35 lg. 2,94521318 Thanks for this, I tried connection to the server from the remote computer using "telnet ip_mysql_server 3306" but the connection fails. –Anonymous Apr 30 '10 at 16:02 Maybe this seems a stupid question but...is running mysql server? Which is the result of netstat? –lg
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About http://stackoverflow.com/questions/12349948/cannot-connect-to-remote-mysql-with-vb6-10060 Us Learn more about Stack Overflow the company Business Learn more about hiring http://www.codeproject.com/Questions/283184/Cant-connect-to-MySQL-server-on-localhost developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot connect to remote MySQL connect to with VB6 (10060) up vote 1 down vote favorite 1 I got a hosting plan from GKG.net and I have a VB6 connection string to remotely reach MySQL database in it. I followed all instructions and tutorials about how to reach MySQL server remotely. Everything was fine till i get an error that says: [MySQL][ODBC 3.51 Driver] Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (10060) I connect to mysql searched for a solution over the net for hours but still there is nothing makes sense about it.. I double checked my connections.. I can ping to my static ip, but cant reach the MySQL server in it. From CPanel i can reach my db with phpMyAdmin. I tested my db and there was nothing wrong with it. Everything seems right. Except i still get the error message with VB6 My connection string: Dim conn As ADODB.Connection Dim constr As String Private Sub OpenServer() Set conn = New ADODB.Connection constr = "Driver={MySQL ODBC 3.51 Driver};" & _ "PORT=" & db_port & ";" & _ "SERVER=" & db_server & ";" & _ "DATABASE=" & db_name & ";" & _ "UID=" & db_user & ";" & _ "PWD=" & db_pass & ";" & _ "OPTION=3;" & _ "STMT=;" conn.Open constr End Sub So how can i resolve this damned connection issue? and What are the odds that causes this? mysql vb6 remote-access share|improve this question asked Sep 10 '12 at 10:37 Berker Yüceer 2,089123978 It quite clearly says that it can't connect. Either the details are wrong or the server is not accessible from the i
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... Linux questions C# questions ASP.NET questions SQL questions fabric questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Can't connect to MySQL server on localhost (10060) Rate this: Please Sign up or sign in to vote. See more: MySQL i have install the "mysql-6.0.11-alpha-win32" setup in windows 7 . then try to connect to the mysql but it takes long time to connect to the mysql server then show the error message like --------------------------- SQLyog - Free MySQL GUI --------------------------- Error No. 2003 Can't connect to MySQL server on 'localhost' (10060) --------------------------- OK Help --------------------------- any one have idea about this error no. 2003 then help me.... thanks in advance... Posted 13-Nov-11 19:36pm vrushali katkade1.4K Add a Solution 3 solutions Top Rated Most Recent Rate this: Please Sign up or sign in to vote. Solution 1 Accept Solution Reject Solution http://webyog.com/faq/content/23/15/en/error-no-2003-can_t-connect.html[^] Permalink Posted 13-Nov-11 19:43pm Prerak Patel141.8K Rate this: Please Sign up or sign in to vote. Solution 2 Accept Solution Reject Solution check by Disabling your firewall Permalink Posted 13-Nov-11 19:50pm koolprasad200373.3K Comments sangita navale 14-Nov-11 1:56am i already t