[mythtv-commits] Ticket #9732: Added retry when database connection fails

MythTV noreply at mythtv.org
Sat Apr 16 09:13:53 UTC 2011


#9732: Added retry when database connection fails
--------------------------------+----------------------------------
 Reporter:  jorcas33@…          |           Type:  Patch - Feature
   Status:  new                 |       Priority:  minor
Milestone:  unknown             |      Component:  MythTV - General
  Version:  0.24-fixes          |       Severity:  medium
 Keywords:                      |  Ticket locked:  0
--------------------------------+----------------------------------
 Even setting the proper boot priority order, I see mythtv user starting
 before mysql server is ready, so mythwelcome somethimes fails connecting
 to the database (even it is local) and it asks again for configuration.

 This patch added in libmyth/mythcontext.cpp just try to connect again to
 the database (only 12 retry) after waiting 10 seconds.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9732>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list