[Bug 330078] New: mysql-python reconnect for mysql version >=5; patch available
https://bugzilla.novell.com/show_bug.cgi?id=330078 Summary: mysql-python reconnect for mysql version >=5; patch available Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: brejoe@web.de QAContact: qa@suse.de Found By: --- The reconnect feature of the c library (libmysqlclient) is missing in the python module. behavior now: a connection timeout is set by the mysqld for any long running application with idle connections (default 8 hours). the c library knows a reconnect flag while connection initialization, so the connection could silently reestablish. in the python module (MySQLdb) this flag is unknown until today causing applications triggering an OperationalError. solution: there exists a patch in the sourceforge repo of MySQLdb solving this issue. this patch didn't make it into stable of MySQLdb until now, but works as expected for us. so we ask you to review and possibly apply it to your python-mysql package. this would make things much easier. patch: http://sourceforge.net/tracker/index.php?func=detail&aid=1483074&group_id=22307&atid=374934 Yours sincerely, jerch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=330078
Matej Horvath
https://bugzilla.novell.com/show_bug.cgi?id=330078
Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=330078#c1
--- Comment #1 from hinz kunz
https://bugzilla.novell.com/show_bug.cgi?id=330078
User jmatejek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=330078#c2
Jan Matejek
participants (1)
-
bugzilla_noreply@novell.com