RE: SSH tunnel MySQL traffic: BOTH remote local?

2002-01-03 Thread Gary . Every
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

Re: SSH tunnel MySQL traffic: BOTH remote local?

2002-01-03 Thread Gerald Clark
You use a different port # for the tunnel. MySQL baby wrote: 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

RE: SSH tunnel MySQL traffic: BOTH remote local?

2002-01-03 Thread John Barton
Try mapping your remote mysql to a different local port, then specify that port number when you connect. For example: 'ssh -L 3307:hostip:3306 hostname' will map port 3306 on the remote machine to port 3307 on your local machine. Then, use 'mysql -P 3307 -u x -p etc.' to connect to port 3307

RE: SSH tunnel MySQL traffic: BOTH remote local?

2002-01-03 Thread Hershey, Ernie
tunnel MySQL traffic: BOTH remote local? You use a different port # for the tunnel. MySQL baby wrote: 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