From 18700d872d6379527f5dca6e5b051dfb960aab20 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 22 Apr 2001 00:45:57 +0000 Subject: [PATCH] update postgres examples --- htdocs/docs/config.html | 10 +++++----- htdocs/docs/install.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/docs/config.html b/htdocs/docs/config.html index db4b95427..b255ce30e 100644 --- a/htdocs/docs/config.html +++ b/htdocs/docs/config.html @@ -18,18 +18,18 @@ admin secretfile john secretfile sam secretfile -
  • Next, the filename(s) referenced in /usr/local/etc/freeside/mapsecrets file should be created in the /usr/local/etc/freeside/ directory. This file contains three lines: DBI data source (for example, - DBI:mysql:freeside or DBI:Pg:dbname=freeside), database username, and database password. - This file should not be world readable. See the DBI manpage and the manpage for your DBD for the exact syntax of a DBI data source. For example: +
  • Next, the filename(s) referenced in /usr/local/etc/freeside/mapsecrets file should be created in the /usr/local/etc/freeside/ directory. Each file contains three lines: DBI data source (for example, + DBI:mysql:freeside or DBI:Pg:host=localhost;dbname=freeside), database username, and database password. + These files should not be world readable. See the DBI manpage and the manpage for your DBD for the exact syntax of a DBI data source. In a normal installation such as the example above, a single file /usr/local/etc/freeside/secretfile would be created - for example:
    -DBI:Pg:dbname=freeside
    +DBI:Pg:host=localhost;dbname=freeside
     dbusername
     dbpassword
     
    All further configuration files and directories are located in /usr/local/etc/freeside/conf.datasource, for example, -/usr/local/etc/freeside/conf.DBI:Pg:dbname=freeside +/usr/local/etc/freeside/conf.DBI:Pg:host=localhost;dbname=freeside (remember to backslash-escape the ; character when creating directories in the shell: mkdir /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=freeside).