Sql Recovery
Tags: sql
- THIS DIDNT WORK, the user was not an admin though they could auth
The local group that looks similair to SQLServerMSSQLUser$$SQLEXPRESS
is a local admin group for the installed SQL, adding your user to that makes you an admin of the DB
- WORKED
Single User mode
net stop SQLSERVICEnet start SQLSERVICE /msqlcmd -S ./dbnameCREATE LOGIN fooroo WITH PASSWORD='P@ssword123'GOALTER SERVER ROLE sysadmin ADD MEMBER foorooGO