PRepS Manuals | ||
---|---|---|
<<< Previous | PRepS Configuration | Next >>> |
The configuration file contains two types of sections, the main Databases Section and one or more Database Details Sections.
A typical PRepS database configuration file looks like this:
[databases] count=2 name0=design4 name1=myprs [myprs] host=localhost port=5432 username=stuffle [design4] username=stuffle host=localhost port=5432 |
The databases section stores the names of the databases to which the user has successfully connected. There are only two labels defined for use in the databases section.
The number of database entries that are defined. This number must match the number of nameX entries in this section.
Defines the name of the databases. The X represents a number. Numbering starts at 0 and goes until count - 1. Each database name must be unique (you cannot have two different entries for the same database).
A typical databases section looks like this:
[databases] count=2 name0=design4 name1=myprs |
The database details section contains the detail information used to log on to the database. There must be one database details section for each of the nameX entries defined in the databases section. The actual name of each database details section corresponds to the name of the database.
The database username last used to log on to the database.
The name of the host machine for the database.
The port on which the database server is listening.
A typical database details section looks like this:
[myprs] host=localhost port=5432 username=stuffle |
<<< Previous | Home | Next >>> |
The PRepS Database Configuration File | Up | General PRepS Usage |