[stunnel-users] Connecting to mySQL from Windows

Alistair Scott emailtp2 at gmail.com
Mon Jun 2 12:15:56 CEST 2008

Hi everyone

I have a mySQL database that I need to connect to through SSH. I have
successfully setup a connection to it using Plink. However, I'm running this
from a batch file and I'd like a more elegant solution - that's where
stunnel comes in I think.

Rather than running a batch file, I'd like to run the connection as a
Windows service - which I think this is achievable with stunnel.

Trouble is, I can't work out how to do it.

This is what I'm trying to achieve...

Windows computer connects to mySQL server through SSH. Forwards a port to
the mySQL server port 3306.

Application on Windows computer connects to local forwarded port & therefore
connects to the mySQL db at the remote end.

I was hoping that someone could give me a pointer as to how I can set this

Thanks in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20080602/daf26f71/attachment.html>

More information about the stunnel-users mailing list