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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » Running the Database Server » Running the server outside the current session

Managing Windows services Next Page

Creating a Windows service

This section describes how to set up services using Sybase Central and the Service utility.

To create a new service (Sybase Central)
  1. In the left pane, select the SQL Anywhere 10 plug-in.

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

  3. From the File menu, choose New > Service.

    The Create Service wizard appears.

  4. Follow the instructions in the wizard.


You can also create services for the MobiLink plug-in. See Running the MobiLink server outside the current session.

To create a new service (Command line)
  1. Open a command prompt.

  2. Execute the Service utility using the -w option.

    For example, to create a personal server service called myserv. The database server runs as the LocalSystem user. Enter the following command:

    dbsvc -as -w myserv "c:\Program Files\SQL Anywhere 10\win32\dbeng10.exe" -n william -c 8m "c:\temp\sample.db"
  3. See Service utility (dbsvc) for Windows.


    See Configuring Windows services.