You can create a Windows service using Sybase Central.
There are no prerequisites for this task.
Context and remarks
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.
In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.
In the left pane, click SQL Anywhere 16.
In the right pane, click the Services tab.
Click File » New » Service.
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.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|