Protecting MySQL sessions with SSH tunnel (port forwarding)
Many Hosting Companies that provide MySQL hosting will block access to the MySQL server from outside the hosting company's network, and only grant access to users connecting from localhost.
The major benefit of SSH tunneling is that it allows us to connect to a MySQL server from behind a firewall when the MySQL server port is blocked.
By Kenlin at PHP Builder.
[ Read more ]