httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46827] Execute some SQL statement after database connection has been established
Date Sun, 12 Apr 2009 15:34:03 GMT

Marko Kevac <> changed:

           What    |Removed                     |Added
  Attachment #23379|0                           |1
        is obsolete|                            |

--- Comment #3 from Marko Kevac <>  2009-04-12 08:34:01 PST ---
Created an attachment (id=23482)
 --> (
main patch

This patch adds ability to the mod_dbd Apache module to execute any SQL
statements after DB connection have been established.

Patch is against httpd trunk.

Configuration example:

        DBDriver mysql
        DBDParams host=localhost,user=root,reconnect=0
        DBDPersist On
        DBDInitSQL "USE passport"
        DBDInitSQL "SET NAMES utf8"
        DBDMin 1

Order of the DBDInitSQL statements is preserved (statements will be executed in
same order they were in httpd.conf file).

Also this patch introduces optional post_connection hook, which enables any
other module to hook after connection were established.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message