Remote MySQL connection fails (10060)

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

The error 10060 means that you are not allowed to access the web server remotely. Therefore

  1. Make sure that you are using the correct IP-address of the MySQL server.
  2. The rest of the parameters of your connection are the same.
  3. Use the % wildcard for the host part of the user account to allow connect from any host (see Adding User Accounts article).

Please, see Solution to Connecting remotely when you get Error 10060 post for details.