In that case, your connection string would be something like: I hope it helps others out there. Which is the result of netstat? I develop my ASP. Resolution To decrease the delay before Windows releases an open TCP connection, use regedit to edit the following registry value of: First of all, it’s a very bad idea to have a worldwide open port to your database server. Sign up using Email and Password.

Uploader: Nigul
Date Added: 3 December 2007
File Size: 50.55 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 22230
Price: Free* [*Free Regsitration Required]

For more information about connection pooling see http: Join Stack Overflow to learn, share knowledge, and build your career. This value does not exist by default and will need to be created. We check it, the asp. Once I added my IP address, everything worked perfectly.

I got into same issue and it resolved once we opened the port. We restart MySQL, and it fqiled fine. Print Share Twitter Facebook Email.

Also try using IP instead of server name. For his day job he develops websites and desktop applications as well as providing Mtsql services.

MySQL – Connection Failed: [HY] [MySQL][ODBC Driver] Access denied for user

Resolution To decrease the delay before Windows releases an open TCP connection, use regedit to edit the following registry value of: If it’s just for data synchronization, go for db server concepts The valid range is 0x1E – 0x12C 30seconds to secondsthe default is 0xF0 seconds.


Nov 13, I’ve been trying to fix this error for a couple of days now and seem to be stuck with it. These notes only apply to the error above when the “other symptoms” are present. But that’s not a good idea. I rewrote the connection string in my web. If you are going to get data of a mysql server to another server, be precise with the requirement The error seems to manifest itself under “stress” conditions, when lots of connections are being made opened and closed in a short space of time minutes.

Connection Failed: [HY000] [MySQL][ODBC 5.1 Driver]Can’t connect to MySQL server on ‘MYSQL’ (10060)

Decreasing the value of TcpTimedWaitDelay should help, but is unlikely to permanently solve the problem for a busy system because if the system is busy the limits will still be hit. Could somebody please help resolve this problem?

SqlClient namespace in your application. Especially if it’s on the MySQL default port. In theory enabling connection pooling would address this problem.

XX’ 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 but the connection still fails.


Have you tried using a port scanning tool like nmap on your from your remote computer to scan the database server? Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

May 01, For performance conneciton Windows maintains a connection on a TCP port after it is closed for by default 4 minutes. This question is old but here is to guide anyone who had a problem like mine.

Remote MySQL connection fails () – Server Fault

These notes have been tested against MySQL version 4. Another test you can do is to telnet from another pc to your mysql server: You were very right, the ISP have blocked all ports but hg000, 80 and Also do one more thing to check connection. I hope it helps others out there.