Hello.

Once again I want to propose patch for mod_dbd module. This patch make
possible to use more than one database pool.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45456

Also, new configuration option was added DBDInitSQL, which enables
user to execute some SQL command after connecting to DB server.
It can be codepage choosing command or anything else.

Configuration example:

    <DBDPool "dbdtest">
        DBDriver mysql
        DBDParams "host=172.20.30.65, port=..."
        DBDPersist On
    </DBDPool>

    <DBDPool "dbdtest2">
        DBDriver mysql
        DBDParams "host=172.20.30.65, port=..."
        DBDPersist On
    </DBDPool>

    <DBDPool "dbdtest3">
        DBDriver mysql
        DBDParams "host=172.20.30.65, port=..."
        DBDPersist On
    </DBDPool>

dbdtest, dbdtest2 and dbdtes3 are pool names.

API is only slightly changed (new argument 'pool name' added).

I am looking forward to comments and instructions how to add this to
mainline http-2.2.x.

Thanks in advance.

-- 
Marko Kevac

Reply via email to