Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 (中文) » SQL Anywhere 服务器 - 数据库管理 » SQL Anywhere 数据库连接 » 教程:连接到示例数据库

 

第 3 课:停止数据库服务器

使用停止服务器实用程序来停止数据库服务器。

前提条件

本课假定您已完成前面的所有课程。请参见第 1 课:启动 SQL Anywhere 数据库服务器并显示数据库服务器消息窗口

本课假定您拥有在本教程开头的特权部分中列出的角色和特权: 教程:连接到示例数据库

上下文和注释

在 Windows 上,您可以通过单击数据库服务器消息窗口中的 [关闭] 来停止数据库服务器。

 任务
  1. 运行以下命令停止运行示例数据库的数据库服务器:

    dbstop demo16
  2. 如果系统提示数据库具有连接,请键入 Y

结果

数据库服务器将停止,且所有到此示例数据库的连接均将终止。

下一个

(可选)重新创建示例数据库以撤消对其进行的所有修改。请参见重新创建示例数据库 (demo.db)

 另请参见