[sqlalchemy] MySQL Multithreaded app and 'MySQL has gone away' errors

2012-08-07 Thread Lucas Manfield
Hello, I've been unable to shake 'MySQL has gone away' errors in my application. Here's my setup: It's a pretty classic REST API built on top of Flask and MySQL with a scoped_session engine = create_engine('mysql+mysqldb:/', convert_unicode=True,

Re: [sqlalchemy] MySQL Multithreaded app and 'MySQL has gone away' errors

2012-08-07 Thread Michael Bayer
On Aug 7, 2012, at 6:27 PM, Lucas Manfield wrote: Hello, I've been unable to shake 'MySQL has gone away' errors in my application. Here's my setup: It's a pretty classic REST API built on top of Flask and MySQL with a scoped_session engine =