Connection String for Sql Server
Hai,
Can anyone pls tell me how to give connection string for sqlserver?My Code is:
String connectionUrl = "jdbc:sqlserver://192.168.1.44;databaseName=FleetTracking;integrated Security=true;";
But i got error:
Login failed for user 'VERTEX-83\Guest'. ClientConnectionId:a87aab19-dde9-4a3c-807e-243fbc39bcbe
Pls tell me what is the mistake and solution.Thanks in Advance
Re: Connection String for Sql Server
which authentication mode is your SQL server using? I guess it is using SQL mode so integratedSecurity=true does not make sense. Try to use user and password in the connection URL.