The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

gda-config-2 (5)
  • >> gda-config-2 (5) ( Linux man: Форматы файлов )
  •  

    NAME

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

    DESCRIPTION

    The config file of libgda is an XML file. The document starts with <libgda-config> tag, which contains sections that hold the configured database providers for libgda.

    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'.  

    EXAMPLE

    This is a sample file. You may modify it manually, add/remove sections,...

    <?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>
    

    You can also use gda-config-tool or mergeant (recommended) to modify this file.  

    SEE ALSO

    mergeant(1), gda-config-tool(1)


     

    Index

    NAME
    DESCRIPTION
    EXAMPLE
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру