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

SQL Anywhere 11.0.1 (Français) » 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

 

Specifying options

The options for a service are the same as those for the executable.

Caution

The Configuration tab of the Service Properties window provides a Parameters text box for specifying options for a service. Do not type the name of the program executable in this box.

Examples

To start a network server service with a cache size of 20 MB, named my_server running two databases, you would type the following in the Parameters field:

-c 20M
-n my_server
c:\db_1.db
c:\db_2.db

To start a SQL Remote Message Agent service connecting to the sample database as user ID DBA, you would type the following:

-c "UID=DBA;PWD=sql;DBN=demo"

The following figure illustrates a sample Service Properties window.

Configuration tab of the Service Properties window, showing the file name and parameters for the executable the service runs.