Some MySQL connection has gone away problems aren't caught

Issue #625 resolved
Former user created an issue

(original reporter: ants) As reported in ticket #387, in some cases MySQL dropped connections are not reopened. That is because the error message is not recognized as a connectiod closed error.

The error in question:

SQLError: (OperationalError) (2013, 'Lost connection to MySQL server during query') u'SELECT bundle.bundle_id, bundle.title, bundle.description, cover.name AS cover_url \nFROM bundle LEFT OUTER JOIN cover ON cover.cover_id = bundle.cover_id \nWHERE bundle.bundle_id = %s' [20](20)

Fix this and see if theres some documentation available on what other cases may be missed.

Comments (3)

  1. Log in to comment