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 » Some common options


Using configuration files to store server startup options

If you use an extensive set of options, you can store them in a configuration file and invoke that file in a server command. The configuration file can contain options on several lines. For example, the following configuration file starts the personal database server and the sample database. It sets a cache of 10 MB, and names this instance of the personal server Elora. Lines with # as the first character in the line are treated as comments.

# Configuration file for server Elora
-n Elora
-c 10M

In the example, samples-dir is the name of your SQL Anywhere samples directory. On Unix, you would use a forward slash instead of the backslash in the file path.

For information about samples-dir, see Samples directory.

If you name the file sample.cfg, you could use these options as follows:

dbeng11 @sample.cfg
See also