<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 1, 2022 at 7:13 AM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 1 May 2022 06:58:34 -0400, you wrote:<br>
<br>
>I've been upgrading all my PCs to 22.04 LTS over the past week with success<br>
>and today I thought it was time to try my PC that runs<br>
>mythtv-backend.service. It now has issues with connecting to the database.<br>
><br>
>Before I restore  everything to a previous snapshot, I wanted to see if<br>
>there was an obvious fix.  Here is the log (journalctl -u<br>
>mythtv-backiend -b) attached to this email.<br>
<br>
If you are using MariaDB you may have version 10.6 which has a nasty<br>
(and stupid) breaking change to how you configure its "bind-address"<br>
setting.  It used to be that you set it to :: to get all IPv4 and all<br>
IPv6 interfaces, or to * to get only all IPv4 interfaces.  Now using<br>
:: gives you only all IPv6 interfaces, and * gives you all IPv4 and<br>
all IPv6 interfaces.  So if you have previously set it to :: to future<br>
proof yourself for IPv6, but are still connecting to the database<br>
using IPv4, you will now be unable to connect.  So try changing it to<br>
*.<br>
<br>
See this thread on the MythTV developers list:<br>
<br>
<a href="https://lists.archive.carbon60.com/mythtv/dev/640444" rel="noreferrer" target="_blank">https://lists.archive.carbon60.com/mythtv/dev/640444</a><br>
<br></blockquote><div> </div><div>Thanks, Stephen. I am running mariadb. That was it. I changed :: to * in the mythtv.cnf file and it worked.</div><div><br></div><div>BTW, this was a real proof of concept for my switch to BTRFS on my PC with mythtv-backend running on it.  </div><div><br></div><div>While I was waiting for your answer, which came in less than 15 minutes. I was able to execute 4 commands in the terminal and restore the complete system to where it was at 6am this morning. The restore of snapshots is instantaneous. Once rebooted I was back to normal.  </div><div><br></div><div>When I got your answer. I reversed the 4 commands, made the change to mythtv.cnf, and rebooted.  Back to a working Kubuntu 22.04 LTS with Mythtv v32.</div><div><br></div><div>Thanks again for all your help over the years.</div><div><br></div><div>Jim A</div></div></div>