#21597: (2006, 'MySQL server has gone away') in django1.6 when wait_timeout
passed
-------------------------------------+-------------------------------------
Reporter: ekeydar@… | Owner: err
Type: Bug | Status: assigned
Component: Database layer | Version: 1.6
(models, ORM) | Resolution:
Severity: Release blocker | Triage Stage: Accepted
Keywords: mysql | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by matteius@…):
Having the same problem in Django 1.6.3 in a process that is run
indefinitely via a management command. I am attempting a build now where
at the start of each loop I call:
db.close_old_connections()
We'll see if this solves the problem or not.
--
Ticket URL: <https://code.djangoproject.com/ticket/21597#comment:26>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/075.88c245c10b15cd64a3767ca82e1de486%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.