From 5704a98da7245cdae47141f41529a790bde0981c Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 14 Sep 2003 17:50:07 +0000 Subject: [PATCH] Some docs for PostgreSQL sockets users (see bug #749) --- config-dist.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config-dist.php b/config-dist.php index 70081967f9..9fd970ea2a 100644 --- a/config-dist.php +++ b/config-dist.php @@ -42,6 +42,11 @@ unset($CFG); // Ignore this line // // postgres7 - the prefix is REQUIRED, regardless of whether the // // database already contains tables. // +// // +// A special case exists when using PostgreSQL databases via sockets. // +// Define dbhost as follows, leaving dbname, dbuser, dbpass BLANK!: // +// $CFG->dbhost = " user='muser' password='mpass' dbname='mdata'"; // +// $CFG->dbtype = 'mysql'; // mysql or postgres7 (for now) $CFG->dbhost = 'localhost'; // eg localhost or db.isp.com -- 2.39.5