📘
Quick reference
  • Install
    • Winget
    • Dotnet SDK
    • Visual Studio (Both)
    • LocalDB
    • REPL
  • Dotnet CLI
    • Solution creation
    • Project creation
    • dotnet ef install
    • dotnet ef commands
  • Trouble shooting
    • VS plugin crashes
Powered by GitBook
On this page
  • Installing Microsoft LocalDB
  • Check running instances
  • Start an instance
  • Create a new instance
  1. Install

LocalDB

Installing Microsoft LocalDB

Microsoft is no longer shipping separate MSI file for LocalDB it has to be installed either through Visual Studio installer or through SQL Server installer only.

If the default instance is not running properly, none of the repair steps will work and might not work even after reinstalling everything from scratch! Better create another instance as shown below:

Check running instances

SQLLocalDB info

Start an instance

SQLLocalDB start <instance_name>

Create a new instance

SQLLocalDB create MyInstance
SQLLocalDB start MyInstance
PreviousVisual Studio (Both)NextREPL

Last updated 2 years ago