Hi,
I have come accross my problem with the port forwarding... Thanks to the
help I got.
I needed the flag -n (that tells ssh not to listen on stdin).
So doing the following is working... assuming that you have privileges
without passphrase between the server and the client...
ssh -l username -L 222:mysqlServer:3306 mysqlServer -n -N -g &
(-N allows to run ssh in the background, -g allows ssh to accept connections
from the server on the port 3306)
In order to connect:
mysql --host=127.0.0.1 --port=222 -user=username -p DBName
I was also told that if you want to precise a port, you need to set up host
as 127.0.0.1
Caroline
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php