$(sysconfdir)/libgda/config - libgda global configuration file. $(HOME)/.libgda/config - libgda user configuration file.
The values in the global configuration file are overriden by the ones in the user configuration file.
Each <section> has a 'path' attribute whose value must be something like "/apps/libgda/Datasources/XXXXXXXX", where XXXXXXXX is the name of the database backend (i.e., postgres, mysql,...)
Inside each <section> you can have for <entry> tags with 'name', 'type' and 'value' attributes. Valid values for 'name' are: Provider, Username, DSN and Description. 'type' value is always "string" and 'value' contains the value for the given 'name'.
<?xml version="1.0"?> <libgda-config> <section path="/apps/libgda/Datasources/postgres"> <entry name="Provider" type="string" value="PostgreSQL"/> <entry name="Username" type="string" value="gonzalo"/> <entry name="DSN" type="string" value="DATABASE=test;USER=gonzalo"/> <entry name="Description" type="string" value="Mi favourite provider"/> </section> </libgda-config>
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |