On 7/7/07, Nick Kew <[EMAIL PROTECTED]> 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.
