MySQL:Can’t connect to MySQL server (10060) from remote client, on windows xp.

I tried connecting to MySQL Server using MySQL query browser but i was getting above error. I found following solution in MySQL forum.,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 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 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 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.