Database Configuration File

 

database.cfg file is created empty during Lycia installation.

Its structure when a database configuring should be as follows:

 

dbname {

driver = "dbtype"

source = "database"

username = "user"

password = "pwd"

}

 

The options listed above should have the following values:

 

A single database.cfg file may contain several database specifications without no limits for their number. Here is an example of this file containing two database specifications:

 

or_db {

driver = "oracle"

source = "stores"

username = "john"

password = "123456"

}

ifx_db {

driver = "informix"

source = "stores@ixserv"

username = "jane"

password = "567890"

}