I have installed the MySQL Server on my VPS Server. Then, I want to use the Entity Framework in my app. I have downloaded the ADO.NET Connector.
I pass the server URL : http://IP_ADDRESS
and also the login & pass to the MySQL server instance.

When I test the connection, I get the error “Unable to connect to any of the specified MySQL hosts.” Why ?
EDIT
SOLVED
I had to do 3 things:
1) add bind-address=0.0.0.0 to the my.ini (MySQL config file)
2) mysql> create user '___login___'@'%' identified by '___pswd___';
3) grant select, insert, delete on database_name.* to ___login___@'%' identified by '___pswd___';
First, drop the
http://part you should only provide the IP address here, nothing more.Further there are 2 things you can check:
1) Does the MySQL server allow remote connections, Check the
bind-addressconfiguration in yourmy.cnf. This should be either unconfigured or the Public IP address of your VPS. I believe the default setting here isbind-address = 127.0.0.1which only allows local connections (you must restart the MySQL server after changing this)2) Check if the 3306 port is being blocked by a firewall.
You can use Telnet to check if the MySQL server can be accessed remotely by using this command:
telnet <IP of server> 3306If you can make a connection you should be able to connect remotely to your database as long as the user you are connecting as is allowed to make remote connections.