Can't connect to Sql Server database using JDBC
Go to your SQL Server configuration manager -> SQL server network configuration -> protocols for SQLEXPRESS -> TCP/IP (double click on it for properties).
On protocol page set enabled to Yes.On IP Addresses page, scroll to bottom.TCP Dynamic Ports: 54629TCP Port: 1433Apply and ok.
Make a connection with:Host: localhostPort: 1433Your credentialsInstance field = blank.
This should work.