I'm trying to connect to SQL Server 2022 using Datagrip in Windows 11 with Windows Authentication. These are the data that I have obtained when installing SQL Server and with the systeminfo command in the CMD: Instance Name: SQLEXPRESS SQL Administrator: ZEPHYRUS\dkval
Host: localhost
Server Name: ZEPHYRUS
User: dkval
Port: 1433
Domain: WORKGROUP
I have already tried the drivers:
Microsoft SQL Server

In Advanced I put:
- integratedSecurity true
Microsoft SQL Server(jTds)
In Advanced I put:
- domain WORKGROUP
- USENTLMV2 true
What would be the correct fields to fill in Datagrip?


This setup should be enough (works even without specifying the database):
Driver:
Tested on MS SQL Server 2022 and the latest version of DataGrip 2023.3.4.