don't connect by default in datagrip

I love datagrip… but the whole projects/files/ide stuff I'm not interested in at all - For me, it's a tool to list all the databases I know in the organisation and connect to them quickly.   And there are a lot of them.  

I start up datagrip - have like 30 databases on the tree on the left for when I want to access them, but some databases I might access once a year - if that.  Some databases I might _never_ access - I just add them there just in case one day I might need to quickly, so I don't have to go and find out how at that point..  I have datagrip always running - and I want all my databases there, so that everything is just a click away - but… and here's the key point…  I don't want datagrip accessing them unless I do click on them.  It uses lots of resources - and it's quite annoyingly slow when you start up.

Is there any way of telling datagrip “do not ever ever ever connect to a database in my project unless and until I actually click on it?"

For me at least - there's actually no database I _would_ want it to connect to automatically.

1 comment


I have a similar setup with lots of different data sources configured for various databases, and none of the connections are initiated until I select a particular database and click ‘Refresh’ in the Database tool window. The behavior persists between restarts, so I don't see how you can have any issues with this.

Is the actual problem that the IDE is slow on startup and loading the list of all data sources in the Database tool window? Or that some of the data sources initiate connections to databases on their own?


Please sign in to leave a comment.