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

SQL Anywhere 12.0.1 » SQL Anywhere Server - Database Administration » Starting and connecting to your database » Using SQL Anywhere database servers

 

Configuration files and database server startup options

You can store the set of options used to start a database server in a configuration file and invoke that file in a database server command. The configuration file can contain options on several lines. For example, the following configuration file starts a 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
"%SQLANY12%\demo.db"

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

dbeng12 @sample.cfg
 See also