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


Creating Windows services (Sybase Central)

You can create a Windows service using Sybase Central.


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 new databases to your existing Windows service, rather than by creating new services.

  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. Click File » New » Service.

  5. Follow the instructions in the Create Service Wizard.

    • Service names must be unique within the first eight characters.

    • When creating a service in Sybase Central, type options for the executable, without the executable name itself, in the window. For example, if you want a network server to run using the sample database with a cache size of 20 MB and the name myserver, you would type the following in the Parameters text box of the Create Service Wizard in Sybase Central:

      -c 20M
      -n myserver "%SQLANY16%\demo.db"

      Line breaks are optional.

    • Choose the account under which the service will run: the special LocalSystem account or another user ID.

      For more information about this choice, see Service account options.

    • If you want the service to be accessible from the Windows desktop, click Allow Service To Interact With Desktop. If this option is cleared, no icon appears in the system tray and neither do any windows appear on the desktop.

    • If you choose to start a service automatically, it starts whenever the computer starts Windows. If you choose to start the service manually, you must start the service from Sybase Central each time. You may want to click Disabled if you are setting up a service for future use.


A new Windows service is created.

 See also