Setting of the Database Connection

In the GROMA system, you can pre-set the parameters for connection to different databases and choose from this list of the pre-set connections when connecting. The only data which can't be pre-set and must always be entered manually is the login password.

The file containing all the settings is stored in the subdirectory sql of the main directory of the GROMA system with the name db.ini. This file is in XML format (Extensible Markup language). The detailed XML language description is beyond the extent of this manual. All the information on the XML language can be found on the website of the W3C International Consortium which specializes in standardization on internet(http://www.w3.org/XML/). However, detailed skills with the XML language are not necessary to use the GROMA system. The installation contains the sample file db.ini, which can be only adjusted.

The file structure must be maintained when adjusting. Abiding by the condition that all the file elements must be correctly closed is crucial. It means that for each opening mark in format

<znacka>

must also be in the document on the corresponding place the closing mark

</znacka>

If the element does not contain any other elements but attributes, it can also be closed in a short way, i.e. by writing the character / directly in the element opening mark: / přímo do otevírací značky prvku:

<znacka atribut1="data" atribut2="data"/>

The structure of the definition file is described in the Attachements.