apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45407] auto reconnect in apr_dbd_mysql disturb normal work with prepared statements
Date Mon, 08 Dec 2008 23:26:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45407


Greg Petras <gpetme@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gpetme@gmail.com
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #13 from Greg Petras <gpetme@gmail.com>  2008-12-08 15:26:44 PST ---
I have run into this problem on RHEL 4, running Apache 2.2.10 and MySQL 5.0.67.
The patch doesn't seem to fix the problem for me.

I tried using reconnect=0 in my database connection string. The relevant part
of my configuration is below (the DBDParams is all on one line, just in case it
wraps).

<VirtualHost *:80>

   DBDriver mysql
   DBDParams
host=localhost,port=3306,user=my_db_user,pass=my_db_pass,dbname=auth_db,reconnect=0,sock=/var/lib/mysql/mysql.sock
   DBDPersist on

   <Directory /path/to/protected/files>
      AllowOverride None
      Order allow,deny
      Allow from all
      AuthName "protected"
      AuthType Digest
      AuthDigestProvider dbd
      Require valid-user
      AuthDBDUserRealmQuery "SELECT digest FROM users WHERE username = %s AND
realm = %s" 
   </Directory>

</VirtualHost>

Is there something I can provide to give more information? Or, does my
configuration above need to be adjusted?

Thanks in advance for any help you can provide.

Greg


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message