I have my webspace at artfiles.de and they have a special configuration. The webserver is wwwXXX.c.artfiles.de and the MySQL-server is sqlXXX.c.artfiles.de. But the MySQL-server is only reachable from the webserver. I can not connect direct to the MySQL-server via SSH.
Therefore I have to connect to the MySQL server through the webserver with SSH tunnel.
So I have to call
plink -ssh -L 3306:sqlXXX.c.artfiles.de:3306 USER@wwwXXX.c.artfiles.de
After entering my webserver password I can connect HeidiSQL to the MySQL server at localhost with sql-user and sql-password.
But there seems no possibility to enter this special configuration in HeidiSQL so that HeidiSQL would call plink itself with the correct parameters, or am I wrong?
Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.