From: moodler Date: Sun, 14 Sep 2003 17:50:07 +0000 (+0000) Subject: Some docs for PostgreSQL sockets users (see bug #749) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5704a98da7245cdae47141f41529a790bde0981c;p=moodle.git Some docs for PostgreSQL sockets users (see bug #749) --- 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