Starting SQL Server in Single-User Mode

  • Post author:
  • Post category:
  • Post comments:1 Comment
  • Post last modified:January 7, 2005

Under certain circumstances, you may need to start an instance of Microsoft® SQL Server™ in single-user mode using the startup option -m. For example, you may want to change server configuration options or recover a damaged master database or other system database. Both actions require starting an instance of SQL Server in single-user mode.

When you start an instance of SQL Server in single-user mode:

Only one user can connect to the server.

The CHECKPOINT process is not executed. By default, it is executed automatically at startup.

The sp_configure system stored procedure allow updates option is enabled. By default, the allow updates option is disabled.
To start SQL Server in single-user mode

From a command prompt, enter:

sqlservr.exe -c -m

 

Author Details
Kubernetes, DevSecOps, AWS, 클라우드 보안, 클라우드 비용관리, SaaS 의 활용과 내재화 등 소프트웨어 개발 전반에 도움이 필요하다면 도움을 요청하세요. 지인이라면 가볍게 도와드리겠습니다. 전문적인 도움이 필요하다면 저의 현업에 방해가 되지 않는 선에서 협의가능합니다.
0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
William Chung
19 years ago

or u can use the following command since sql 2000:
NET START MSSQLSERVER /m

and i belive it’s better than
sqlservr.exe /m