Tracker: Bugs

5 SQLObject does not reconnect - ID: 1547004
Last Update: Comment added ( phd )

this is from the 0.7bug fix branch

a lot of background has been created on this in
Turbogears bug tracker.

mainly in
http://trac.turbogears.org/turbogears/ticket/872
http://trac.turbogears.org/turbogears/ticket/781

Basically the connection after being idle is drop and
SO engine is not aware of this.

Many patches have been proposed but none accepted.


elpargo ( elpargo ) - 2006-08-26 04:05

5

Open

Fixed

Nobody/Anonymous

DBM

SQLObject from repository

Public


Comments ( 2 )




Date: 2007-03-06 15:23
Sender: phdProject Admin

Partially fixed: in the revisions 2396-2399 there were patches that allows
autoreconnect for MySQLdb 1.2.2+.


Date: 2006-12-10 20:56
Sender: sophana

I think the best solution is the one included in this mysqldb patch. The
reconnection is handled directly in the mysql C api with an option.
The problem Is that this option is only available from mysql 5.0.x

http://sourceforge.net/tracker/index.php?func=detail&aid=1483074&group_id=22307&atid=374934

Other problem this patch is for mysqldb 1.2.1p2 which has problems with
unicode.

Have to see if the patch is already applied or applicable to 1.2.2


Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
resolution_id None 2007-03-06 15:23 phd