Hi group,
 Has anyone managed to resolve the mysql connection resiliency
problems?  My hosting provider seems to run a 30 minute max on mysql
connections, so TG/SQLObject's inability to deal with this is a bit of
a non-starter.

As suggested in this thread
(http://groups.google.com/group/turbogears/browse_frm/thread/eeb289d5a0ca36f9/d2cd5f7ee2674082?q=mysql+server+away&rnum=1#d2cd5f7ee2674082)
I tried modifying the __get__ method in class PackageHub.  It catches
the exception ok
but self.set_hub() doesn't seem to reset the connection.

I also tried catching the exception in SQLObject's mysqlconnection.py,
recalling MySQLConnection.makeConnection().  This also doesn't seem to
help.

I'm running TG0.8.8.  Would upgrading help?

Thanks for any leads!
Paul
http://pauleastham.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to