Lesson 3: Stopping the database server

You can now stop the database server you started in Lesson 1: Starting the SQL Anywhere database server and displaying the database server messages window.

In Windows, you can stop a database server by clicking Shut Down on the database server messages window.

 Stop the database server running the sample database (Windows)
  1. Double-click the SQL Anywhere icon in the system tray.

  2. Click Shut Down.

  3. If prompted that the database has connections, click Yes.

 Stop the database server running the sample database (command line)
  1. Run the following command to stop the personal database server running the sample database:

    dbstop demo12

    The Stop Server utility (dbstop) can only be run at a command prompt.

  2. If prompted that the database has connections, type Y.

Proceed to Lesson 4: (Optional) Restoring the sample database.

 See also