PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → SSH connection
SSH connection
Iniciado por guest, 07,nov. 2014 18:20 - 3 respuestas
Publicado el 07,noviembre 2014 - 18:20
Hi,

I need to connect to a MySQL database on a remote server using an SSH channel.
Can you please suggest ways on how this can be done?

Thanks
Sarah
Publicado el 07,noviembre 2014 - 18:53
The only way i know is using some ssh client (like PuTTY, Bitvise,...) to create one tunnel between your pc and the remote server, after that when you need to connect to mysql just connect to localhost and the local port you have used in the tunnel.
Publicado el 12,noviembre 2014 - 11:34
Thanks for your answer Paulo.
Much appreciated.

Sarah
Publicado el 13,noviembre 2014 - 16:01
SSH is not safe
if your mysql is on linux , setup a OpenVPN server .
connect through vpn . once tunnel is up . run your application and connect to the db using server IP.