RE: SSH tunnel MySQL traffic..

2002-01-04 Thread Heo, Jungsu Mr.
Hi~ I have trouble with ssh tunneling. I run this command as you told. [wertyu@inos ~]$ ssh -L 12345:localhost:3306 localhost Secure connection to localhost refused; reverting to insecure method. Using rsh. WARNING: Connection will not be encrypted. localhost: Connection refused what's the pr

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 tunne

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 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 Gary . Every
Using the -h 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 compute