We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a site that is using the SqlAlchemyBackend and when the site is not accessed for 8 hours I get this error.
OperationalError: (_mysql_exceptions.OperationalError) (2006, 'MySQL server has gone away') [SQL: u'SELECT roles.role \nFROM roles \nWHERE roles.role = %s'] [parameters: ('user',)]
The text was updated successfully, but these errors were encountered:
I tested out using SQLAlchemy's recommended fix for this issue, using the pool_recycle=3600 option. That seems to have fixed the issue.
pool_recycle=3600
http://docs.sqlalchemy.org/en/rel_0_8/dialects/mysql.html#mysql-connection-timeouts
Sorry, something went wrong.
Thanks for the PR, it's committed.
FedericoCeratto
No branches or pull requests
I have a site that is using the SqlAlchemyBackend and when the site is not accessed for 8 hours I get this error.
OperationalError: (_mysql_exceptions.OperationalError) (2006, 'MySQL server has gone away') [SQL: u'SELECT roles.role \nFROM roles \nWHERE roles.role = %s'] [parameters: ('user',)]
The text was updated successfully, but these errors were encountered: