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? 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().