[mythtv-users] Recordings not working

Bill Meek keemllib at gmail.com
Sat May 29 20:00:36 UTC 2021


On 5/26/21 7:05 AM, Michael T. Dean wrote:
> On 05/25/2021 11:38 AM, Gary Buhrmaster wrote:
>> On Tue, May 25, 2021 at 1:48 PM Bill Meek <keemllib at gmail.com> wrote:
>>
>>> The fix is pretty simple, but it's in common code used for
>>> database access. It's currently repeated 3x and I decided
>>> to put it all in 1 place. Also added logging that can
>>> be turned on with general:debug to make it easier if/when this
>>> happens again. So far, on master, my test 20.04 test host
>>> and (unaffected) 18.04 production host are happy with it.
>> Have you considered adding in something like
>>
>>      db.setConnectOptions("MYSQL_OPT_RECONNECT=1");
>>
>> to ask Qt (well, the MySQL connector) to automatically
>> reconnect?
> 
> We had that in there ( https://github.com/MythTV/mythtv/commit/dd2d7a14d ), then Daniel K removed it in a rework of the reconnect logic (
> https://github.com/MythTV/mythtv/commit/4dfcdb8dd ).
> 
> Mike

The v31 fix has been pushed. See: https://forum.mythtv.org/viewtopic.php?f=36&t=4453&p=22004#p22004
for more info.

-- 
Bill


More information about the mythtv-users mailing list