Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot stop the v11.0 LocalDB instance

Tags:

localdb

Steps to reproduce.

List the existing instances:

> sqllocaldb info
v11.0

Stop the instance with the specified name:

> sqllocaldb stop "v11.0"
Stop of LocalDB instance "v11.0" failed because of the following error:
The specified LocalDB instance does not exist.

The results are contradictory. How can it exist in the first command and then not exist in the second?

like image 285
Shaun Luttin Avatar asked Dec 25 '22 22:12

Shaun Luttin


1 Answers

Try using

sqllocaldb stop v11.0

without quotes. It should work.

Are you using Visual Studio Tools? If not, try using it.

EDIT: It also works if you user an admin command prompt and type: cmd.exe /C sqllocaldb p "v11.0"

like image 180
Tiago Cachinho Avatar answered May 21 '23 04:05

Tiago Cachinho