# 如何重启或关闭服务？

进入Windows的系统管理管理，将mssqlserver服务设置为自动启动或手动启动。参考下图：

![](http://libs.websoft9.com/Websoft9/DocsPicture/zh/sqlserver2008express/sqlserver-services-websoft9.png)

也可以使用cmd工具，通过命令的方式启动或关闭数据库

* 快速启动命令：**net start mssqlserver**
* 关闭服务：**net stop mssqlserver**
* Sql Server 管理器打开的命令是：**ssms**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://websoft9.gitbook.io/sqlserverexpress-image-guide/sql-server-2014-express-jing-xiang-shou-ce/ru-he-zhong-qi-huo-guan-bi-fu-wu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
