fatbusinessman
Fledgling Freddie
- Joined
- Dec 22, 2003
- Messages
- 810
Ok, here's a reasonably in-depth techie question for you guys:
I'm trying to connect to a MySQL database over a SSH port tunnel. I've got port 1984 on my local machine forwarding to port 3306 on the remote host. I know I've got the port forwarding mechanism right, because I can forward to other ports (specifically, port 80) without any problems. However, when I try to connect to the MySQL database I get the following error:
Anyone got any ideas why this is happening? I've tried searching Google and the MySQL site, but to no avail...
(Addendum: I'm using Windows/PuTTY for this, but I've tried it under Linux using the default SSH client, and I get the same error)
I'm trying to connect to a MySQL database over a SSH port tunnel. I've got port 1984 on my local machine forwarding to port 3306 on the remote host. I know I've got the port forwarding mechanism right, because I can forward to other ports (specifically, port 80) without any problems. However, when I try to connect to the MySQL database I get the following error:
Code:
ERROR 2013: Lost connection to MySQL server during query
(Addendum: I'm using Windows/PuTTY for this, but I've tried it under Linux using the default SSH client, and I get the same error)