0
MySQL via SSH
Dear all,
is it possible to connect to a MySQL Database via SSH?
Thanks in advance and kind regards
Markus Loy
1 reply
-
Hi Markus,
Its not possible to do this directly from with Pyramid itself. However you could setup an SSH tunnel on all Pyramid Runtime and Task engine servers and then use the MySQL connector from within Pyramid to connect to your MySQL database.
An example on how to setup such an SSH tunnel can be found here, but there are many examples online.
https://www.linode.com/docs/databases/mysql/create-an-ssh-tunnel-for-mysql-remote-access/
If you would like to be able to do this directly from within Pyramid you can suggest it here in our Pyramid Ideas section.