Udostępnij za pośrednictwem


How to: Stop an Instance of SQL Server (SQL Server Configuration Manager)

Microsoft SQL Server can be stopped and started from SQL Server Configuration Manager.

Note

To ensure an orderly shutdown, you should pause SQL Server and stop the SQL Server Agent service before stopping an instance of SQL Server. You can do both using either SQL Server Configuration Manager or SQL Server Management Studio.

To stop the default instance of SQL Server

  1. On the Start menu, point to All Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Configuration Manager.

  2. In SQL Server Configuration Manager, expand Services, and then click SQL Server.

  3. In the results pane, right-click SQL Server (MSSQLSERVER), and then click Stop. If SQL Server Agent is running, you will receive a notice that SQL Server Agent will also stop.

    A red box on the icon next to the server name and on the toolbar indicates that the server stopped successfully.

  4. Click OK.

To stop a named instance of SQL Server

  1. On the Start menu, point to All Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Configuration Manager.

  2. In SQL Server Configuration Manager, expand Services, and then click SQL Server.

  3. In the results pane, right-click the named instance of SQL Server, and then click Stop.

    A red box on the icon next to the server name and on the toolbar indicates that the server stopped successfully.

  4. Click OK.

Note

SQL Server running on a cluster is best managed with Cluster Administrator. For more information, see Using SQL Server Tools with Failover Clustering.

See Also

Tasks

How to: Broadcast a Shutdown Message (Command Prompt)
How to: Stop an Instance of SQL Server (SQL Server Management Studio)
How to: Stop an Instance of SQL Server (net Commands)
How to: Start an Instance of SQL Server (SQL Server Configuration Manager)
How to: Pause and Resume an Instance of SQL Server (SQL Server Configuration Manager)
How to: Connect to Another Computer (SQL Server Configuration Manager)
How to: Configure WMI to Show Server Status in SQL Server Tools

Concepts

Stopping Services

Help and Information

Getting SQL Server 2005 Assistance