httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Jones" <jones...@gmail.com>
Subject Re: [users@httpd] mod_dbd and mysql
Date Wed, 09 May 2007 11:39:36 GMT
[thread moved from users list]


On 5/8/07, Nick Kew <nick@webthing.com> wrote:
> On Tue, 8 May 2007 08:11:13 -0500
> "Frank Jones" <jonesf11@gmail.com> wrote:
> > However, I don't know what to do if apr_dbd_pvselect using the
> > prepared statement returns 2013 (Lost connection).

> What MySQL version are you using?  This appears to have changed between
> 4.1 (where mysql_ping would reestablish a lost connection) and 5.0
> (where it doesn't).

I'm using MySQL 5.0.22 on Ubuntu server 6.06 LTS with Apache/2.2.4.


> The correct solution is for your module to call apr_dbd_invalidate
> to invalidate the stale connection, then grab another from the pool.
> But alas, only your module can decide how many times to retry in
> case of problems.

I grepped the whole source tree for apr_dbd_invalidate and also
googled for it with no result. Is that the right name?

> BTW, this would be more on-topic on the dev or modules-dev list.

moved

Mime
View raw message