Trying to restore the master and it says "db should be in
single user mode" .
I tried starting with
Net start MSSQLSERVER -m
but does not seem to help . what else do I need to make it
work .
Thanks
Net start MSSQLSERVER -m
but does not seem to help . what else do I need to make it
work .
Thanks
To start the default instance of SQL Server in single-user mode from a
command prompt
From a command prompt, enter:
sqlservr.exe -c -m
Note : You must switch to the appropriate directory (for the instance of
Microsoft? SQL Server you want to start) in the command window before
starting sqlservr.exe.
To start a named instance of SQL Server in single-user mode from a command
prompt
From a command prompt, enter:
sqlservr.exe -c - m -s {instancename}
For more information refer
Restoring the master Database from a Current Backup
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/admi...
_bkprst_4g4w.asp
Backing Up and Restoring Databases
http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/pr...
ol/sql/proddocs/admincmp/75517c03.asp
Regards,
Uttam.
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection
Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.
Start SQL Server in single-user mode by entering sqlservr.exe -c -m in a
commnd prompt.
The process is mentioned in
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304692
Dinesh.
--
---
SQL Server FAQ at
www.tkdinesh.com
Quote:> Trying to restore the master and it says "db should be in
> single user mode" .
> I tried starting with
> Net start MSSQLSERVER -m
> but does not seem to help . what else do I need to make it
> work .
> Thanks
Thanks it worked , didn't realise I had to use -c alongwith
sqlservr.exe -c -m in aQuote:>-----Original Message-----
>Alfred,
>Start SQL Server in single-user mode by entering
>The process is mentioned in
>http://support.microsoft.com/default.aspx?scid=kb;en-
us;Q304692
>Dinesh.
>--
>---
>SQL Server FAQ at
>www.tkdinesh.com
>> Trying to restore the master and it says "db should be
in
>> single user mode" .
>> I tried starting with
>> Net start MSSQLSERVER -m
>> but does not seem to help . what else do I need to make
it
>> work .
>> Thanks
>.
1. Setting master to single user in SQL 6.5
Does anybody have any really good tricks to setting the master db into
single user mode so that you can restore from a db dump. Have tried a few
things from books on line, but machine is not agreeing.
Any help would greatly appreciated.
Thanks in advance
2. Sybtcl-2.5 Sybase interface for Tcl
3. How to set the master database single user?
4. MDAC and win Service Pack issue-help?
5. Restoring Master in Single User Mode
6. VFP6 bug? WindowsMediaPlayerX, reference to Form's name, & Form's Activate event incompatible
7. Restoring master DB - How to get in Single user mode
8. restoring Master/ single user question
9. Cannot load any database other than Master when server in single-user mode
10. Changing Master DB to single user mode
11. Cannot Set SQL 6.5, SP4 master DB to Single User Mode
12. single user and restoring master db