On Dec 18, 2008, at 11:51 AM, Ken wrote:

>
> On Dec 17, 9:24 am, Michael Bayer <[email protected]> wrote:
>>
>> yes but pool_recycle is documented as a number of seconds, and a
>> typical value is 3600 for one hour.  setting it to True means it will
>> recycle the connection every second.   Technically, that shouldn't
>> cause any "broken" behavior either, but that seems to be the source
>> here.
>
> Right, 3600 just causes it to break every hour instead of every
> second. I get the same error, but only after an hour.
>
> In other words, this error seems to happen on recycled connections.


Would need to see how your create_engine() is configured, what  
versions of MySQL/MySQLdb are in use.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to