0

I have a local db, which has a connection string

Data Source=(localdb)\projectsv12;Integrated Security=True;Connect Timeout=15;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False

This database has no username and password.

I am using this database in Visual Studio SQL manager.

I have external software in which I need to access this database using a JDBC connection. So it's asking for a JDBC URL.

  jdbc url format:  jdbc:sqlserver://localhost:1433;databaseName=database

What should I provide to connect to my database?

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
vishnuprasad kv
  • 990
  • 5
  • 22
  • 46
  • 1
    Possible duplicate of [Connecting to SQL Server LocalDB using JDBC](http://stackoverflow.com/questions/11345746/connecting-to-sql-server-localdb-using-jdbc) – Mark Rotteveel Oct 12 '16 at 09:16
  • 1
    AFAIK nothing has changed since above question: it is not possible with the Microsoft SQL Server JDBC driver, it might be possible with the jTDS driver. – Mark Rotteveel Oct 12 '16 at 09:16

0 Answers0