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

SQL Anywhere 11.0.1 » SQL Anywhere Server - Database Administration » Starting and Connecting to Your Database » Running the database server » Running the server outside the current session » Configuring Windows services


Adding new databases to a service

Each network server or personal server can run more than one database. If you want to run more than one database at a time, it is recommended that you do so by attaching new databases to your existing service, rather than by creating new services.

To add a new database to an existing service
  1. From the Context dropdown list, choose SQL Anywhere 11.

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

  3. Select the service and then from the File menu, choose Properties.

  4. Click the Configuration tab.

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

  6. Click OK to save the changes.

    The new database starts the next time the service starts.

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

For more information about starting a database from Interactive SQL, see START DATABASE statement.

For more information about how to implement this function in an embedded SQL application, see db_start_database function.

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