You are currently viewing How to set up a remote MySQL connection

How to set up a remote MySQL connection

You can use either of the following methods to access your MySQL databases remotely:

♦ SSH tunnel: This is the more secure method. You set up an SSH tunnel that forwards a port on your local computer to the remote MySQL server. The MySQL traffic is encrypted by the SSH tunnel.
♦ Direct connection: You can set up a direct connection between your local computer and the remote MySQL server. Although it is easier to configure, it is not as secure.
After you have set up a remote MySQL connection, you can use a MySQL client application to manage your databases