Return to Snippet

Revision: 10801
at January 20, 2009 00:59 by zachwood


Updated Code
ssh -fNg -L 8888:127.0.0.1:3306 [email protected] -p port#

Revision: 10800
at January 13, 2009 23:32 by zachwood


Updated Code
ssh fNg -L 8888:127.0.0.1:3306 [email protected] -p port#

Revision: 10799
at January 13, 2009 23:32 by zachwood


Updated Code
ssh fNg -L 8888:127.0.0.1:3306 [email protected]  -p port#

Revision: 10798
at January 13, 2009 23:32 by zachwood


Updated Code
fNg -L 8888:127.0.0.1:3306 [email protected]  -p port#

Revision: 10797
at January 13, 2009 23:31 by zachwood


Initial Code
http://wiki.slicehost.com/doku.php?id=mysql_tips

Initial URL
http://wiki.slicehost.com/doku.php?id=mysql_tips

Initial Description
To connect to your database remotely, tunnel in via SSH.

This creates an encrypted tunnel to your Slice’s mySQL port (3306) on your local port of 8888. Point your local admin/GUI app to localhost:8888. If this does not work, and you are running OS X with CocoaMySQL try pointing it to 0.0.0.0:8888 instead.

Initial Title
SSH tunnel to local port

Initial Tags
mysql, ssh

Initial Language
Bash