On Wed, 24 Oct 2012 16:13:41 -0400
Nick Sabalausky SeeWebsiteToContactMe@semitwist.com wrote:

On Wed, 24 Oct 2012 21:13:12 +0200
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

Yep! They'll stay open until something forcably closes them. The
downside, I think, is that the MySQL driver does not detect when a
connection is broken and does not restart it, this is something that
still needs to be implemented to make it more robust.

Is there a recommended way to check if the connection is still open?

Like, just try to use it and then catch/inspect any resulting MySQL
exception?

I
don't see any property like isopen(), just an internal _open flag
which I'm guessing is probably not guaranteed to be updated if the
connection breaks in ways other than calling close().