On Oct 30, 2007, at 2:22 PM, Atilla wrote:

>
> I have those settings set in my .ini file:
>
> sqlalchemy.echo = True
> sqlalchemy.echo_pool = True
> sqlalchemy.default.pool_recycle = 1
>
> And my timeout in mysql is set to 36000.
>
> However i still seem to get 'MySQL server has gone away' errors, which
> is totally weird and I'm not sure what else could be wrong. Has anyone
> else experienced this? Isn't this the correct setting to handle it in
> pylons? Oh, also - I don't seem to get any echo messages either. Are
> they supposed to be showing up in the console where the server is
> started?

Are you using using the latest version of MySQLdb? I recall version  
1.2.1 not handling this situation correctly.

--
Philip Jenvey



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

Reply via email to