码迷,mamicode.com
首页 > 数据库 > 详细

How to connect to LocalDB in Visual Studio Server Explorer?

时间:2015-01-29 12:16:52      阅读:710      评论:0      收藏:0      [点我收藏+]

标签:

 

Stack Overflow: How to connect to LocalDB in Visual Studio Server Explorer?

    Steps to connect LocalDB to Visual Studio Server Explorer
  1. Open command prompt
  2. Run SqlLocalDB.exe start v11.0
  3. Run SqlLocalDB.exe info v11.0
  4. Copy the Instance pipe name that starts with np:\...
  5. In Visual Studio select TOOLS > Connect to Database...
  6. 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.
  7. Select the database on next dropdown list
  8. Click OK

 

技术分享

How to connect to LocalDB in Visual Studio Server Explorer?

标签:

原文地址:http://www.cnblogs.com/Currention/p/4259263.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!