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
published site mysqql connection not working
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: published site mysqql connection not working
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:
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.
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
Please also tell us whether you use HTTP tunnel to establish a connection.