Using the -h <hostname or IP> should do it.
mysql -h 10.129.0.2 -u user -p password yadayadayada

-----Original Message-----
From: MySQL baby [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: SSH tunnel MySQL traffic: BOTH remote & local?


If I've got one computer with MySQL client and server on it, running
everything localhost,

but I want to reach out to another MySQL server, through an SSH tunnel, for
some things,

does anyone know how to differentiate between the two?


Usually, for SSH tunnelling, you access a port # at localhost, but if I also
need that port # at localhost, (3306), what's a guy to do?


Any advice appreciated.


---------------------------------------------------------------------
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

---------------------------------------------------------------------
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

Reply via email to