I am trying to access a sql database remotely. The database and the server are on two different ips. i have tried commenting out bind-address line and all the other things people have suggested in different posts but am still unable to connect to the
m using on my server ..
$ mysql -u name -h server-address -p
and am getting.
ERROR 2003 (HY000): Can't connect to MySQL server on 'ip' (111)
Note: I have already granted all privileges to the specific user name and the web server and sql database is on ubuntu server.
SQL EXCEPTION : Failed to link account