Contents
How do you stop a SQL Server database?
In SQL Server Configuration Manager, in the left pane, click SQL Server Services. In the results pane, right-click SQL Server (MSSQLServer) or a named instance, and then click Start, Stop, Pause, Resume, or Restart.
How do I stop SQL Server from terminal?
Method 2: Stop / Start SQL Server Service from Command Line
- Open an elevated Command Prompt.
- To stop a named SQL Server instance, type the following command. Replace SQLEXPRESS with the instance name. net stop MSSQL$SQLEXPRESS. To start a named SQL Server instance, type: net start MSSQL$SQLEXPRESS.