[mythtv-commits] Ticket #8903: Backend doesn't seem to reconnect to restarted mysql
MythTV
mythtv at cvs.mythtv.org
Fri Sep 10 06:17:50 UTC 2010
#8903: Backend doesn't seem to reconnect to restarted mysql
----------------------------------+-----------------------------------------
Reporter: beirdo | Owner:
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Trunk Head
Severity: medium | Keywords:
Ticket locked: 0 |
----------------------------------+-----------------------------------------
If you have to restart your mysqld while the backend is running, it
doesn't seem to want to reconnect when the mysqld is running again:
{{{
QMYSQL3: Unable to prepare statement
Database error was:
MySQL server has gone away
}}}
This particular error should be easy to deal with by simply attempting to
reconnect. Ideally, missed queries should be queued, but at least a
reconnection should be attempted and the query retried if the reconnection
succeeds. Instead, we get an endless stream of errors for every
subsequent query.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8903>
MythTV <http://www.mythtv.org/>
MythTV Media Center
More information about the mythtv-commits
mailing list