ZeosLib & SSH ?

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
peshka
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 09.11.2010, 17:49

ZeosLib & SSH ?

Post by peshka »

Hi,
Help me please, how to connect to mysql database through SSH. ZeosLib can do SSH -tunnel?
Thanks.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

peshka,

I see you've got your account working ;)

Concerning your SSH-tunnel. In principle there's no difference between using the mysql command line tool over SSH and using zeoslib-powered applications over the same tunnel.
If you get the command line mysql client working over the tunnel, I'm sure zeoslib will not have trouble with it.
Googling gives me some links:
http://www.murdoch-sutherland.com/mysql.html
http://www.whoopis.com/howtos/mysql_ssh_howto.html
http://www.howtoforge.com/secure_mysql_ ... ssh_tunnel
http://www.howtogeek.com/howto/ubuntu/a ... -over-ssh/

Once the tunnel is set up (which can not be done by zeoslib), you can connect using host=localhost and port=<tunneled port>

Mark

BTW: never done it myself, so I can't help with the practical tunnel details.
Image
peshka
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 09.11.2010, 17:49

Post by peshka »

Thank you very much for the detailed response!
Post Reply