|
|
81b3740 |
--- libgda-3.0.0/tools/gda-config-3.0.5.man 2007-04-24 09:42:36.000000000 +0200
|
|
|
81b3740 |
+++ libgda-3.0.0/tools/gda-config-3.0.5 2007-04-24 09:42:05.000000000 +0200
|
|
|
81b3740 |
@@ -0,0 +1,52 @@
|
|
|
81b3740 |
+.\"
|
|
|
81b3740 |
+.\" gda-config man page
|
|
|
81b3740 |
+.\" (C) 2003 GNOME Foundation
|
|
|
81b3740 |
+.\" Author:
|
|
|
81b3740 |
+.\" Gonzalo Paniagua Javier (gonzalo@gnome-db.org)
|
|
|
81b3740 |
+.\"
|
|
|
81b3740 |
+.TH gda-config-3.0 "5" "January 2003" "libgda" "File Formats"
|
|
|
81b3740 |
+.SH NAME
|
|
|
81b3740 |
+$(sysconfdir)/libgda/config \- libgda global configuration file.
|
|
|
81b3740 |
+$(HOME)/.libgda/config \- libgda user configuration file.
|
|
|
81b3740 |
+.SH DESCRIPTION
|
|
|
81b3740 |
+The config file of libgda is an XML file. The document starts with
|
|
|
81b3740 |
+<libgda-config> tag, which contains sections that hold the configured
|
|
|
81b3740 |
+database providers for libgda.
|
|
|
81b3740 |
+.PP
|
|
|
81b3740 |
+The values in the global configuration file are overriden by the ones in the
|
|
|
81b3740 |
+user configuration file.
|
|
|
81b3740 |
+.PP
|
|
|
81b3740 |
+Each <section> has a 'path' attribute whose value \fImust\fP be something like
|
|
|
81b3740 |
+"/apps/libgda/Datasources/XXXXXXXX", where XXXXXXXX is the name of the
|
|
|
81b3740 |
+database backend (i.e., postgres, mysql,...)
|
|
|
81b3740 |
+.PP
|
|
|
81b3740 |
+Inside each <section> you can have for <entry> tags with 'name', 'type' and 'value'
|
|
|
81b3740 |
+attributes. Valid values for 'name' are: \fIProvider\fP,
|
|
|
81b3740 |
+\fIUsername\fP, \fIDSN\fP and \fIDescription\fP. 'type' value is always
|
|
|
81b3740 |
+"string" and 'value' contains the value for the given 'name'.
|
|
|
81b3740 |
+.SH EXAMPLE
|
|
|
81b3740 |
+This is a sample file. You may modify it manually, add/remove sections,...
|
|
|
81b3740 |
+.RS
|
|
|
81b3740 |
+.sp
|
|
|
81b3740 |
+.nf
|
|
|
81b3740 |
+
|
|
|
81b3740 |
+<libgda-config>
|
|
|
81b3740 |
+ <section path="/apps/libgda/Datasources/postgres">
|
|
|
81b3740 |
+ <entry name="Provider" type="string" value="PostgreSQL"/>
|
|
|
81b3740 |
+ <entry name="Username" type="string" value="gonzalo"/>
|
|
|
81b3740 |
+
|
|
|
81b3740 |
+ value="DATABASE=test;USER=gonzalo"/>
|
|
|
81b3740 |
+
|
|
|
81b3740 |
+ value="Mi favourite provider"/>
|
|
|
81b3740 |
+ </section>
|
|
|
81b3740 |
+</libgda-config>
|
|
|
81b3740 |
+.fi
|
|
|
81b3740 |
+.sp
|
|
|
81b3740 |
+.RE
|
|
|
81b3740 |
+You can also use \fBgda-config-tool-3.0\fR or \fBmergeant\fR (recommended) to modify
|
|
|
81b3740 |
+this file.
|
|
|
81b3740 |
+.SH SEE ALSO
|
|
|
81b3740 |
+.BR mergeant (1),
|
|
|
81b3740 |
+.BR gda-config-tool-3.0 (1)
|
|
|
81b3740 |
+
|
|
|
81b3740 |
+
|
|
|
81b3740 |
--- libgda-3.0.0/tools/gda-config-tool-3.0.1.man 2007-04-24 09:42:41.000000000 +0200
|
|
|
81b3740 |
+++ libgda-3.0.0/tools/gda-config-tool-3.0.1 2007-04-24 09:41:43.000000000 +0200
|
|
|
81b3740 |
@@ -0,0 +1,63 @@
|
|
|
81b3740 |
+.\"
|
|
|
81b3740 |
+.\" gda-config-tool man page
|
|
|
81b3740 |
+.\" (C) 2002 GNOME Foundation
|
|
|
81b3740 |
+.\" Author:
|
|
|
81b3740 |
+.\" Gonzalo Paniagua Javier (gonzalo@gnome-db.org)
|
|
|
81b3740 |
+.\"
|
|
|
81b3740 |
+.TH gda-config-tool-3.0 "1" "October 2002" "gda-config-tool-3.0 (libgda)" "User Commands"
|
|
|
81b3740 |
+.SH NAME
|
|
|
81b3740 |
+gda-config-tool-3.0 \- Tool for managing libgda configuration file.
|
|
|
81b3740 |
+.SH SYNOPSIS
|
|
|
81b3740 |
+.PP
|
|
|
81b3740 |
+.B gda-config-tool-3.0 [OPTIONS]
|
|
|
81b3740 |
+.SH DESCRIPTION
|
|
|
81b3740 |
+The \fIgda-config-tool-3.0\fP program can be used create/edit/remove a libgda
|
|
|
81b3740 |
+provider. It can be used both as a command line program and an interactive
|
|
|
81b3740 |
+program.
|
|
|
81b3740 |
+.SH OPTIONS
|
|
|
81b3740 |
+.PP
|
|
|
81b3740 |
+The following options are supported:
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+\fB\-?\fR, \fB\-\-help\fR
|
|
|
81b3740 |
+Displays command line options.
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+\fB--usage\fR
|
|
|
81b3740 |
+Display brief usage message.
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+\fB--l\fR, \fB\-\-list\-providers\fR
|
|
|
81b3740 |
+Lists installed providers.
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+\fB--L\fR, \fB\-\-list\-datasources\fR
|
|
|
81b3740 |
+Lists configured data sources.
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+\fB--n\fR, \fB\-\-name=NAME\fR
|
|
|
81b3740 |
+User-assigned name for the provider and connection settings.
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+\fB--u\fR, \fB\-\-user=NAME\fR
|
|
|
81b3740 |
+User name to pass to the provider when connecting.
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+\fB--p\fR, \fB\-\-password=NAME\fR
|
|
|
81b3740 |
+Password for the given user to pass to the DB backend.
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+\fB--P\fR, \fB\-\-provider=NAME\fR
|
|
|
81b3740 |
+Provider name.
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+\fB--d\fR, \fB\-\-DSN="NAME=VALUE;..."\fR
|
|
|
81b3740 |
+Semi-colon separated list of parameter=value option to pass to the provider.
|
|
|
81b3740 |
+.SH ENVIRONMENT VARIABLES
|
|
|
81b3740 |
+.TP
|
|
|
81b3740 |
+NONE
|
|
|
81b3740 |
+.SH FILES
|
|
|
81b3740 |
+.PP
|
|
|
81b3740 |
+$(sysconfdir)/libgda/config
|
|
|
81b3740 |
+.IP
|
|
|
81b3740 |
+Global configurations settings read for every user.
|
|
|
81b3740 |
+.PP
|
|
|
81b3740 |
+${HOME}/.libgda/config
|
|
|
81b3740 |
+.IP
|
|
|
81b3740 |
+User settings. Override global settings.
|
|
|
81b3740 |
+.SH SEE ALSO
|
|
|
81b3740 |
+.BR mergeant(1),
|
|
|
81b3740 |
+.BR gda-config-3.0(5)
|
|
|
81b3740 |
+
|
|
|
81b3740 |
+
|