Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 3.09 KB

start-sql-server-with-minimal-configuration.md

File metadata and controls

42 lines (32 loc) · 3.09 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Start SQL Server with Minimal Configuration
Become familiar with the minimal configuration startup option in SQL Server. See when and how to use it, and learn about how it limits functionality.
rwestMSFT
randolphwest
01/20/2017
sql
configuration
conceptual
minimal configuration [SQL Server]
starting SQL Server, minimal configuration

Start SQL Server with Minimal Configuration

[!INCLUDE SQL Server]

If you have configuration problems that prevent the server from starting, you can start an instance of [!INCLUDEmsCoName] [!INCLUDEssNoVersion] by using the minimal configuration startup option. This is the startup option -f. Starting an instance of [!INCLUDEssNoVersion] with minimal configuration automatically puts the server in single-user mode.

When you start an instance of [!INCLUDEssNoVersion] in minimal configuration mode, note the following:

  • 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.

  • tempdb is configured at the smallest possible size.

  • Audit will be disabled but Audit DDL can still be issued. In practice, -m should be sufficient for most cases that require SQL Serve Audit reconfiguration. For more details about security in Auditing configuration, see Auditing in SQL Server.

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.

Important

Use the sqlcmd utility and the dedicated administrator connection (DAC) to connect to [!INCLUDEssNoVersion]. If you use a typical connection, stop the SQL Server Agent service before connecting to an instance of [!INCLUDEssNoVersion] in minimal configuration mode. Otherwise, the SQL Server Agent service uses the connection, thereby blocking it.

See Also

Start, Stop, or Pause the SQL Server Agent Service
Diagnostic Connection for Database Administrators
sqlcmd Utility
Server Configuration Options (SQL Server)
sp_configure (Transact-SQL)
Database Engine Service Startup Options