1gda-config(5)                    File Formats                    gda-config(5)
2
3
4

NAME

6       $(sysconfdir)/libgda/config   -   libgda   global  configuration  file.
7       $(HOME)/.libgda/config - libgda user configuration file.
8

DESCRIPTION

10       The config file of libgda is an XML  file.  The  document  starts  with
11       <libgda-config>  tag,  which contains sections that hold the configured
12       database providers for libgda.
13
14       The values in the global configuration file are overriden by  the  ones
15       in the user configuration file.
16
17       Each  <section>  has  a  'path' attribute whose value must be something
18       like "/apps/libgda/Datasources/XXXXXXXX", where XXXXXXXX is the name of
19       the database backend (i.e., postgres, mysql,...)
20
21       Inside each <section> you can have for <entry> tags with 'name', 'type'
22       and 'value' attributes. Valid values for 'name'  are:  Provider,  User‐
23       name,  DSN and Description. 'type' value is always "string" and 'value'
24       contains the value for the given 'name'.
25

EXAMPLE

27       This is a sample file. You may  modify  it  manually,  add/remove  sec‐
28       tions,...
29
30              <?xml version="1.0"?>
31              <libgda-config>
32                <section path="/apps/libgda/Datasources/postgres">
33                  <entry name="Provider" type="string" value="PostgreSQL"/>
34                  <entry name="Username" type="string" value="gonzalo"/>
35                  <entry name="DSN" type="string"
36                         value="DATABASE=test;USER=gonzalo"/>
37                  <entry name="Description" type="string"
38                         value="Mi favourite provider"/>
39                </section>
40              </libgda-config>
41
42       You  can  also  use gda-config-tool or mergeant (recommended) to modify
43       this file.
44

SEE ALSO

46       mergeant(1), gda-config-tool(1)
47
48
49
50
51
52libgda                           January 2003                    gda-config(5)
Impressum