[nycbug-talk] mysql ssh & fBSD

Mikel King mikel.king
Thu Mar 2 16:31:09 EST 2006

I have two mysql dbs running on different fBSD boxes on different  
nodes of the net. I figured out the ssh tunnel part but for some  
reason when I try to connect like so:

# establish the background tunnel
ssh -N -f -L 4406: some.other-box.com

#attempt to connect from the local mysql client to the remote server
mysql -P 4406 -u joe_user -p

All I end up with is a connection to the local db and not the remote  
one. Any ideas why this doesn't work even though the docs I'm  
following are claim it should.


More information about the talk mailing list