How can I connect an external tool to my database?
The information in this post is accurate as of the published date . Please make sure to check any linked documentation within the post for changes/updates.
How would I connect an external tool such as dbeaver / datagrip / … to my database ?
-
This is fully supported as long as your application supports connecting over an SSH tunnel. More details here
To summarize: connect with your ssh username, typically
<project id>-<branch>-<hash>--<app>
to yourssh.<region>.platform.sh
. From there, your database host will be for exampledatabase.internal
and your credentials areuser
and an empty password, if you haven’t modified your db service before.Another way is using
platform tunnel
to create tunnels to your services and then accessing them via alocalhost:port
combination. This is spelled out in more detail in our Docs as well.0
Please sign in to leave a comment.
Comments
1 comment