Remotely login to mysql
5 Replies
Give that a try and see if it works. You'll look like you are connecting locally to the MySQL server and you will never have to worry about white listing anything other than localhost. Then you can stop 3306 connections from coming through the firewall and bind MySQL only to localhost on the server.
If you did that already, did you set the "MySQL Hostname" to "localhost" or "127.0.0.1?" in the connection setup?
Are there any drawbacks doing it threw SSH though?
Exposing MySQL to the world basically exposed my entire server because everything was stored in there.