From: Nick Kew Date: Tue, 14 Mar 2006 17:57:13 +0000 (+0000) Subject: Document DBD connection strings X-Git-Tag: 2.2.1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4c1908e78426b1c2592d292c4811db518f6d18;p=thirdparty%2Fapache%2Fhttpd.git Document DBD connection strings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@385844 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
+