This section describes how to get a secure connection to a remote MySQL server with SSH. The information was
provided by David Carlson
Install an SSH client on your Windows machine. As a user, the best nonfree one I
have found is from
Start your Windows SSH client. Set
Host_Name = . Set
userid= to log in to your server. This
userid value might not be the same as the user name of your MySQL account.
Set up port forwarding. Either do a remote forward (Set
3306 ) or a local forward (Set
remote port: 3306).
Save everything, otherwise you will have to redo it the next time.
Log in to your server with the SSH session you just created.
On your Windows machine, start some ODBC application (such as Access).
Create a new file in Windows and link to MySQL using the ODBC driver the same way
you normally do, except type in
localhost for the MySQL host server, not
At this point, you should have an ODBC connection to MySQL, encrypted using SSH.