Azure Emulator: Re-create emulator db

Posted . Visible to the public.

Delete the SQL instance:

sqllocaldb stop MSSQLLocalDB
sqllocaldb delete MSSQLLocalDB

Now delete the database files:

%USERPROFILE%\AzureStorageEmulatorDb*.mdf
%USERPROFILE%\AzureStorageEmulatorDb*.ldf

Finally, recreate the sql instance:

sqllocaldb start MSSQLLocalDB

Then retry the emulator init.

Sean Feldman
Posted by Sean Feldman to Sean Feldman's deck (2015-11-10 19:02)