Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jetbrains Datagrip cannot connect sql server without specify database

Tags:

datagrip

i try to use Datagrip as my primary sql server query tools, bit i meet a problem that i can not move forward.

When i setup the project data source, i have to choose a Database, otherwise it will goto the default tempdb, how i can work like sql server management studio, that i can see all database list.

i have tried both jTds and Microsoft drivers, both not works.

or can i choose multi-database? i do not want to create one data source for one database.

if i connect to mysql, it works like expected.

tks

like image 540
Bill.Zhuang Avatar asked Oct 15 '25 14:10

Bill.Zhuang


1 Answers

It is possible to connect without specifying the database. Just leave this field blank. After entering other settings (host, port, user, password), go to Schemas tab in Data Source properties and select all the Databases and schemas you want to work with. Then invoke Synchronize action for this Data Source in Database tool window.

like image 104
Andrey Avatar answered Oct 17 '25 14:10

Andrey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!