[sqlalchemy] Multiple request in the same controller causing problems with SQLAlchemy Session object

2010-11-09 Thread Alan Castro
Hello, Latelly I've been running into this issue: OperationalError: (OperationalError) (2013, 'Lost connection to MySQL server during query') SELECT... To contextualize, I developed a Pylons application using scoped_session (default in pylons). And it was working until I created some extra

Re: [sqlalchemy] Multiple request in the same controller causing problems with SQLAlchemy Session object

2010-11-09 Thread Michael Bayer
On Nov 9, 2010, at 4:56 PM, Alan Castro wrote: Hello, Latelly I've been running into this issue: OperationalError: (OperationalError) (2013, 'Lost connection to MySQL server during query') SELECT... To contextualize, I developed a Pylons application using scoped_session (default in

[sqlalchemy] Multiple request in the same controller causing problems with SQLAlchemy Session object

2010-11-09 Thread Warwick Prince
Hi Alan We're also doing battle with this one.. One thing I did find was if I had large(ish) BLOB values, MySQL would go away. I found that I had to tweak some settings on MySQL to allow for larger sizes. (The default settings appear to be ridiculously small). Let me know what else you