You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2006/03/14 18:57:15 UTC
svn commit: r385844 - /httpd/httpd/branches/2.2.x/docs/manual/mod/mod_dbd.xml
Author: niq
Date: Tue Mar 14 09:57:13 2006
New Revision: 385844
URL: http://svn.apache.org/viewcvs?rev=385844&view=rev
Log:
Document DBD connection strings
Modified:
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_dbd.xml
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_dbd.xml
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_dbd.xml?rev=385844&r1=385843&r2=385844&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_dbd.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_dbd.xml Tue Mar 14 09:57:13 2006
@@ -136,6 +136,19 @@
<p>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.</p>
+ <p>Connection string parameters for current drivers include:</p>
+ <dl>
+ <dt>MySQL</dt>
+ <dd>host, port, user, pass, dbname, sock</dd>
+ <dt>Oracle</dt>
+ <dd>user, pass, dbname, server</dd>
+ <dt>PostgreSQL</dt>
+ <dd>The connection string is passed straight through to <code>PQconnectdb</code></dd>
+ <dt>SQLite2</dt>
+ <dd>The connection string is split on a colon, and <code>part1:part2</code> is used as <code>sqlite_open(part1, atoi(part2), NULL)</code></dd>
+ <dt>SQLite3</dt>
+ <dd>The connection string is passed straight through to <code>sqlite3_open</code></dd>
+ </dl>
</usage>
</directivesynopsis>