Unable to connect to LocalDB

徘徊边缘 提交于 2019-12-11 12:03:31

问题


I'm trying to connect to LocalDB in Visual Studio 2015. I have LocalDB installed, but when I attempt to connect to (localdb)\MSSQLLocalDB it states that it isn't even there. Can anyone assist? I can't even find it in SSMS 2014.

Update:

Error message that I receive:


回答1:


I am using Visual Studio Community 2015.

  • Tools > Connect to Database

  • Choose Microsoft SQL Server
  • Data Provider will be .NET Framework Data Provider for SQL Server
  • Continue

  • Server name should be (localdb)\MSSQLLocalDB
  • Click on Test Connection. You should receive Test connection succeeded.

That should do it for you.



来源:https://stackoverflow.com/questions/34303211/unable-to-connect-to-localdb

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!