mysql-events icon indicating copy to clipboard operation
mysql-events copied to clipboard

Connect through ssh tunnel

Open asystat opened this issue 6 years ago • 2 comments

I love this project, thanks for the good work. But how could I use mysql-events with a database that is only reachable through an ssh tunnel using a certificate?

asystat avatar Aug 20 '18 22:08 asystat

My guess would be to setup a TCP tunnel from localhost:[sum port] to [external host]:[sum port]. The linux tool ptunnel might work.

I'm unsure on setting up the ssl certs so the client and server are able to communicate nicely.

This is more of a configuration issue then a mysql-events issue.

spencerlambert avatar Aug 20 '18 23:08 spencerlambert

Thanks it was easier than I thought... I setted the tunnel as suggested and worked fine.

asystat avatar Aug 25 '18 20:08 asystat