Page 1 of 1

published site mysqql connection not working

Posted: Mon 25 Feb 2013 17:32
by Jayel
Hello,

On my local machine everything works fine.
But when I publish the project I get an "Can't connect to mysql server on xxx.xxx.xxx.xxx"

Can anybody help me on this please?

Greets John

Re: published site mysqql connection not working

Posted: Wed 27 Feb 2013 09:43
by Pinturiccio
Check whether it is possible to establish a connection from your server using MySQL Connector/Net.

The connection from the server via the port specified in the connection string might be blocked.
Please check if the connection can be established using telnet in the following way:

Code: Select all

telnet xxx.xxx.xxx.xxx 3306
Replace port 3306 with the port value used in your connection string.
Please also tell us whether you use HTTP tunnel to establish a connection.