2016年6月27日 星期一

start an instance of SQL Server in single-user mode by using the startup option -m

http://www.wisdom-soup.com/blog/tools-tools-tips-and-tricks/how-to-start-sql-server-minimal-configuration/


How to: Start SQL Server with Minimal Configuration


When you encounter configuration problem that prevent SQL Server from starting, you may need to start an instance using the minimal configuration option. This is the start up option -f. Starting an instance of SQL Server with minimal configuration automatically puts the server in single-user mode.
Kindly not what you can do when you start an instance of SQL Server in minimal configuration mode, as below:
  • Only a single user can connect, and the CHECKPOINT process is not executed.
  • Remote access and read-ahead are disabled.
  • Startup stored procedures do not run.
After the server has been started with minimal configuration, you should change the appropriate server option value or values, stop, and then restart the server.
sqlservr.exe -c -f -s <Instance_Name>

沒有留言:

張貼留言

注意:只有此網誌的成員可以留言。