[mythtv-users] Recordings not working

Michael T. Dean mtdean at thirdcontact.com
Wed May 26 12:05:37 UTC 2021


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





More information about the mythtv-users mailing list