1 year ago
#76033
user1532587
Heroku / Django / MySQL : 2013 'Lost connection to MySQL server during query'
I've deployed a Django app to Heroku. The app works perfect in other environemnts, but in Heroku, one out of 5 request I got a Lost connection to MySQL server during query. I'm not hitting the app a lot, just testing it and it's unusable. I'm not sure where to start debugging this. I've added CONN_MAX_AGE = 60 to the django settings with the hope that keeping the connection alive would help, but no.
mysql
django
heroku
0 Answers
Your Answer