Home > Enterprise >  Default username and password in connection string SQL Server
Default username and password in connection string SQL Server

Time:09-17

I'm trying to do a connection with SQL Server, setting my connection string.

Does anybody know the default username and password?

"DefaultConnection": "Server=(localdb)\\\\MSSQLLocalDB;Database=db_fields;User Id=;Password=;"

CodePudding user response:

Try this connection

"Data Source=(localdb)\\\\MSSQLLocalDB;Database=db_fields;Integrated Security=SSPI;MultipleActiveResultSets=true"

CodePudding user response:

Thank you all, I just left empty the User id and Password, and worked well for me. I was passing a non-existing User Id.

Thank you again

  • Related