I'm having troubles trying to connect to a local SQL Server database on JetBrains products (DataGrip, PhpStorm...) although I'm able to connect using SQL Server Management Studio.
The server name that I'm using on SSMS looks like this : Machine-name\SQLEXPRESS
.
I'm using a username and password to connect, but I'm also able to connect using my Windows account on SSMS.
The issue is that when i try to configure the connection on JetBrains products, it fails.
I put :
Host : Machine-name
Instance : SQLEXPRESS
user : username
password: password
database: database-name
At the end it gives me a url like this :
jdbc:sqlserver://Machine-name\SQLEXPRESS;database=database-name
But I get an error like this : java.net.SocketTimeoutException: Receive timed out
stating "Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connection at the port. Make sure that TCP connection to the port are not blocked by a firewall...."
I think it has to do with the configuration on these products because I can successfully connect to my database using SQL Server Management Studio.