469,117 Members | 1,313 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,117 developers. It's quick & easy.

MYSQL SSH FORWARDING ERROR 2013

Anu
Hi everyone,
I have just joined the group. I need your expert comments on my
problem urgently. I am trying to establish SSH forwarding for
establishing connections from my web server (obsgeosn) to the database
server (obsclara) (both are UNIX Sun Solaris boxes). I am able to
start a SSH daemon to start listning on one of the ports on webserver.
By using following command:
%ssh -2 -N -f -L 3307:obsgeosn:3306 obsclara
It works and just asks me for paraphrase and not password.
After which I try to do mysql connection forwarding using following
command
%mysql -h 127.0.0.1 -P 3307
It gives me following error:
channel_open_failure: 1: reason 1 open failed
ERROR 2013: Lost connection to MySQL server during query

Please help me out. It will really be helpful. In waiting ....
Anu
Jul 19 '05 #1
0 1551

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Martin | last post: by
reply views Thread by Petre Agenbag | last post: by
reply views Thread by Jim the Bad | last post: by
1 post views Thread by James | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.