SSH Tunnel to MySQL Database
If the MySQL database is running on a different machine (whether real or virtual) from the application, a connection through a network is needed. Assuming the network cannot be assumed to be secure, some kind of encryption is needed. Various alternatives exist, the main ones being and SSH tunnel, TLS connection, VPN. Of these, the …