Connect to your database through ssh

If you have a local database client you can connect to your database without having to use a public IP on the database node.

First follow the instructions on how to connect to the platform using ssh and find the nodeid of the database you need to connect to.

In this example you we connect to a mySQL database that is listening on port 3306.

ssh {nodeid}-{uid} -p 3022 -L 2000:localhost:3306 -N

ssh -p 3022 -L 2000:localhost:3306 -N

 Then you can connect with your favorite database client on localhost:2000.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Article is closed for comments.