顯示包含「localdb」標籤的文章。顯示所有文章
顯示包含「localdb」標籤的文章。顯示所有文章

2024-03-09

Local database(localdb) not seen in SQL Server Explorer via Visual Studio

To establish a connection to a localdb in Visual Studio, such as "Server=(localdb)\mssqllocaldb; Database=IdentityDB," follow these steps:

  1. Go to Server Explorer > right-click on Data Connections > select Add Connection... 




  2. Manually input the server name as (localdb)\mssqllocaldb (with only one slash) > The newly created database with the name IdentityDB will be automatically populated. 



    Result: