[Interest] How to ssh-in then connect to a database in Qt?

Jason H jhihn at gmx.com
Mon Jan 9 20:01:26 CET 2017


This one is a head scratcher for me. I want to write a Qt app that connects to a server running SSH, then connect to a database behind it, as it's not internet accessible. MySQLWorkbench and others can do this. I'm wondering if there is a way d do this in Qt? (Currently the DB is Mysql, but plan to move to Postgres later)/

I guess the fall-back is to use a SSH tunnel via command line?





More information about the Interest mailing list