Timmy Chan pisze:
i'm running
apache2
SQLAlchemy 0.5.8
Pylons 1.0
Python 2.5.2
and on a simple page (just retrieve data from DB), I get:
Error - <class 'sqlalchemy.exc.OperationalError'>: (OperationalError)
(2006, 'MySQL server has gone away')
every few other requests, not after a long time as other posts I've
searched for. I still added
sqlalchemy.pool_recycle = 1800
but that did not fix the issue. After a fresh apache restart, every
5th or 6th requests gets a 500 from the above error.
thanks
See this:
http://bogdan.org.ua/2008/12/25/how-to-fix-mysql-server-has-gone-away-error-2006.html
Best Regards,
Tomasz Narloch
--
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.