sign inHome | Recent Changes | All Pages | HelpSearch:

MySQL SSH Tunnel

To setup a SSH Tunnel, please do the following, replacing servername.com with the server that your site is being hosted on. (example: ion.planetargon.com)

ssh -L 3306:<servername.com>:3306 <ssh_username>@<servername.com>

Then connect to mysql on your local machine.

mysql -h127.0.0.1 -u<mysql_username> -d <db_name> -p


Powered by JunebugWiki v0.0.28 Last edited by robbyrussell on March 21, 2007 01:48 PM (diff)
Version 3 (current) «olderversions