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 Server - Database Administration » SQL Anywhere database connections » SQL Anywhere database servers » How to run the database server as a service or daemon » Configuring Windows services

 

Adding a database to a Windows service

You can add a database to a Windows service.

Prérequis

There are no prerequisites for this task.

Contexte et remarques

Each database server can run more than one database. When you run more than one database at a time, it is recommended that you do so by adding databases to your existing Windows service, rather than by creating new services.

Databases can be started on running servers by client applications, such as Interactive SQL.

Starting a database from an application does not attach it to the service. If the service is stopped and restarted, the additional database does not start automatically.

 Task
  1. In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.

  2. In the left pane, click SQL Anywhere 16.

  3. In the right pane, click the Services tab.

  4. Right-click the service and click Properties.

  5. Click the Configuration tab.

  6. Add the path and file name of the new database to the end of the list of options in the Parameters box.

  7. Click OK to save the changes.

Résultat

The database starts the next time the Windows service starts.

 See also