From: Nick Kew Date: Sun, 12 Mar 2006 20:11:34 +0000 (+0000) Subject: Document DBD Connection Strings X-Git-Tag: 2.3.0~2506 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9b69f1e38f6a172f1145e9eabc99a77b6bbb754;p=thirdparty%2Fapache%2Fhttpd.git Document DBD Connection Strings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@385364 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_dbd.xml b/docs/manual/mod/mod_dbd.xml index 34c12ac7e18..abcf796ae8b 100644 --- a/docs/manual/mod/mod_dbd.xml +++ b/docs/manual/mod/mod_dbd.xml @@ -136,6 +136,19 @@ APR_DECLARE_OPTIONAL_FN(void, ap_dbd_prepare, (server_rec*, const char*, const c

As required by the underlying driver. Typically this will be used to pass whatever cannot be defaulted amongst username, password, database name, hostname and port number for connection.

+

Connection string parameters for current drivers include:

+
+
MySQL
+
host, port, user, pass, dbname, sock
+
Oracle
+
user, pass, dbname, server
+
PostgreSQL
+
The connection string is passed straight through to PQconnectdb
+
SQLite2
+
The connection string is split on a colon, and part1:part2 is used as sqlite_open(part1, atoi(part2), NULL)
+
SQLite3
+
The connection string is passed straight through to sqlite3_open
+