How do I connect to LocalDB in Visual Studio Server Explorer?

Source: Internet
Author: User
Tags management studio sql management studio

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, the 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 do I connect to LocalDB in Visual Studio Server Explorer?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.