Hi Paul,

So, is it a problem related only to SQLObject? I never used SQLAlchemy
before, but maybe it's worth switching. Any other idea?

> It's due to the MySQL connections timing out as they're not used. If you use
> SQLAlchemy you can configure connections to periodically refresh, which will
> avoid this happening. Not sure if there's a fix for SQLObject; perhaps you
> can configure your MySQL server to have longer timeouts.
>
> Paul
>
> On 6/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello all,
>
> > Lastly, I'm getting more and more often the annoying message
> > OperationalError: (2006, 'MySQL server has gone away') in my TG
> > app.There are some interesting discussions about this error in mailing
> > lists and some tickets, but I'm not able to fix it in my server.
>
> > http://www.mail-archive.com/[EMAIL PROTECTED]/msg01261.html
> >http://trac.turbogears.org/ticket/872
>
> > I'm using Ubuntu Dapper, running:
> > - TurboGears 1.0.2.2
> > - MySQLdb 1.2.1c3-4ubuntu4
> > - MySQL 5.0.22
>
> > Does anyone know about the current status of this bug? Any idea to
> > solve it? Thanks in advance.
>
> > Best,
>
> > --
> > VĂ­ctor Peinado


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to