Skip to content

Connect to MySql database #1435

Answered by lifeincha0s
GeertWil asked this question in Q&A
Jul 4, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You could try port forwarding. You can set up the initial SSH connection to the database server and use it as the encrypted tunnel. Afterwards you can just add a forwarded port to the remote server and connect locally to the database port. I only recently started using local port forwarding for my app to pass through a bastion host. I am no pro and wouldnt know which type of forwarding would fit your situation, maybe dynamic or remote. It is something you could look into, just a thought.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@GeertWil
Comment options

@lifeincha0s
Comment options

Answer selected by GeertWil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants