On Jul 15, 2007, at 7:21 PM, SamDonaldson wrote:

>
> I haven't done any research on the mysql end yet but my question is,
> why not disable the wait_timeout option on the mysql end to avoid such
> connection closing from the server side.  Wouldn't this problem go
> away all together?  Why would you ever want to close idle connections
> in such a way?  If anybody knows how to do this then let me know on
> mysql 5.0

absolutely, setting wait_timeout is another way to go here.  just  
that its less convenient to ensure that all mysql dbs' which run with  
your code have this setting made.  the expenditure of pool_recycle is  
also next to nil, a little reconnect every few hours is not expensive  
at all.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to