I am new to JDBC connections and I am very confused. I have enable TCP/IP and Named Pipes and in TCP/IP -> IP Adresses I have set TCP port to 1433 and I have restarted the serve
Copy computer name :cmd.exe -> hostname
cmd.exe -> hostname
or
Right Click on Start then click on System and copy the Computer Name
URL should be:
String url = "jdbc:sqlserver://\\SQLFULL:1433;databaseName=BA_ELTRUN;"; Connection conn = DriverManager.getConnection(url,"",""):