On 12/29/06, Dan Pascu <[EMAIL PROTECTED]> wrote: > Your problem is that you use a 5.0.x (or newer server) and it no longer > permits autoreconnecting by default. The client must set a reconnect flag > when making the connection to signal that it desires this behavior and > the python mysqldb module doesn't set this flag. If you use debian, I > submitted a patch to them and the debian python-mysqldb does reconnect > when a connection is lost. > > Else you can patch your python-mysqldb module to set this flag, or you can > complain to the python-mysqldb authors to find a solution for allowing > this reconnect flag to be set if needed.
Thank you for the detailed explanation. I saw that there is already a patch to MySQLdb available which unfortunately is still not applied: http://sourceforge.net/tracker/index.php?func=detail&aid=1483074&group_id=22307&atid=374934 I hope it will be included in the next release... Kind regards, Markus ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss