Re: Connecting to MySQL using DBTools and PuTTY
From: Andrew Gideon (c182driver_at_gideon.org)
Date: 08/25/05
- Next message: Richard E. Silverman: "Re: authentication configuration question"
- Previous message: Andrew Gideon: "Re: Forcing new password at login (w/o requiring an old password) (sudo related)"
- In reply to: w_searle: "Connecting to MySQL using DBTools and PuTTY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 25 Aug 2005 17:00:13 -0400
w_searle wrote:
> PUTTY
> Hostname: user_SSH@webaddress_SSH.com
> SSH Tunnel: L3306 localhost:3306 (with Local and Auto
> radio boxes chosen)
> (Then I log in using)
> Passowrd: pass_SSH
Are you telling the tunnel to connect, on the server side, to the machine
running MySQL? I don't see that expressed above, and that is a necessary
part of the setup.
> I have
> tried using "webaddress_SQL.com:3306" in the Tunnel instead of
> "localhost:3306" but this doesn't work.
Is MySQL running on the same server as the SSH server? In that case,
localhost:3306 may be fine.
Is MySQL listening on the SSH server's localhost address on port 3306? When
we set up MySQL, our default is to do so with TCP listen()ing off (ie. only
using the named pipe). Perhaps your MySQL is configured the same way? If
so, that must be changed.
I've users tunneling to various services including MySQL, and there's never
been a problem (beyond getting them to switch to SSH; there seems to be
great love of sending passwords around unencrypted {8^).
- Andrew
- Next message: Richard E. Silverman: "Re: authentication configuration question"
- Previous message: Andrew Gideon: "Re: Forcing new password at login (w/o requiring an old password) (sudo related)"
- In reply to: w_searle: "Connecting to MySQL using DBTools and PuTTY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|