简体   繁体   中英

What is 'server' for localdb SQL Server?

I'm using Auth0.com for authentification. MVC5 with AngularJS. When setting connection with SQL Server database I have to set 'server:' ?

I've already set database username and password but can't figure out what a server should be for localDb.

I've already tried : - (localdb)\\v11.0 - localdb - MSSQLLocalDB - localhost. (refused)

在此处输入图片说明

在此处输入图片说明

I would suggest (localdb) is correct, however it maybe that you are not using the correct instance name for the localdb you've installed.

I recommend using "SqlLocalDB -i" as detailed in the article below.

SQL Server: How to find all localdb instance names

Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM