Connect to postgresql target through IDE

Hi, I can’t find a way to connect to a postgres target using any IDE, for example, PyCharm.
It’s possible in some way?

Thank you.

Hi @danieldrey,

I would first try starting a local session to your Postgres target on a known local port (to make the PyCharm configuration deterministic):

$ BOUNDARY_CONNECT_LISTEN_PORT=1234 boundary connect -target-id ttcp_<id>

Once the local session is running, you can configure pycharm to connect to postgres locally:

postgresql://[user:password]@localhost:1234

Note that I haven’t tested this, it represents a best guess (I’m not a pycharm user). Let me know how this goes, thanks!

1 Like

It worked, thank you!