Create Windows services

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 SQL Anywhere 12.

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

  3. Choose File » New » Service.

  4. Follow the instructions in the Create Service Wizard.

Tip

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)
  • Run a dbsvc command that includes the -w option.

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

    dbsvc -as -w myserv "C:\Program Files\SQL Anywhere 12\Bin32\dbeng12.exe"
     -n william -c 8m "c:\temp\sample.db"

See Service utility (dbsvc) for Windows.

 Notes