httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Noordhuis" <bnoordh...@gmail.com>
Subject Re: mod_authn_dbd - internal server error after certain idle time
Date Sat, 07 Jul 2007 10:13:09 GMT
On 7/7/07, Nick Kew <nick@webthing.com> wrote:
> Any other suggestions for a workaround to check the connection now?

With MySQL 5.0.3 and later, mysql_ping() doesn't automatically
reconnect but returns CR_SERVER_GONE_ERROR instead, so you'll want to
reinitialize the prepared statements when that happens. I'm not aware
of a reliable workaround for earlier versions of MySQL, unfortunately.

Mime
View raw message