Persist external database connection across projects

Answered

Hi,

We use an external PostgreSQL database that we have to connect to for debugging purposes quite frequently. As of right now, I see no way to log in to the database once for every PyCharm project I have. Am I missing a setting somewhere? Or are we just expected to log in for each of the individual (30+) PyCharm projects we have and work with?

I would greatly appreciate a way to 'save' the database connection for my IDE so that no matter what project I open, it's there and available without having to set it up again and again.

Thank you!

0
2 comments

Hi,

I guess making it global is what you need https://blog.jetbrains.com/datagrip/2018/05/21/copy-and-share-data-sources-in-datagrip/
Do not pay attention that it's for DataGrip, the same setting is peresent in PyCharm.

1
Avatar
Permanently deleted user

Perfect! Exactly what I needed, thank you so much!

0

Please sign in to leave a comment.