首页 > 代码库 > How to connect to LocalDB in Visual Studio Server Explorer?
How to connect to LocalDB in Visual Studio Server Explorer?
Stack Overflow: How to connect to LocalDB in Visual Studio Server Explorer?
- Steps to connect LocalDB to Visual Studio Server Explorer
- Open command prompt
- Run SqlLocalDB.exe start v11.0
- Run SqlLocalDB.exe info v11.0
- Copy the Instance pipe name that starts with np:\...
- In Visual Studio select TOOLS > Connect to Database...
- For Server Name enter (localdb)\v11.0. If it didn‘t work, use the Instance pipe name that you copied earlier. You can also use this to connect with SQL Management Studio.
- Select the database on next dropdown list
- Click OK
How to connect to LocalDB in Visual Studio Server Explorer?
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。