<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">On Tue, Nov 24, 2020 at 10:24 AM Mike Carron <<a href="mailto:jmcarron@gmx.com">jmcarron@gmx.com</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 11/24/20 3:07 AM, Stephen Worthington wrote:<br>
> On Mon, 23 Nov 2020 19:37:37 -0800, you wrote:<br>
><br>
>> On 11/23/20 6:09 PM, Stephen Worthington wrote:<br>
>>> On Mon, 23 Nov 2020 16:57:05 -0800, you wrote:<br>
>>><br>
>>>> On 11/23/20 7:13 AM, Bill Meek wrote:<br>
>>>><br>
>>>>      |<br>
>>>><br>
>>>>      snip<br>
>>>><br>
>>>>      |<br>
>>>><br>
>>>>      At least my /etc/mysql/mariadb.conf.d/50-server.cnf, appears to<br>
>>>>      be one that would be released by a package manager and changes to<br>
>>>>      it could be overwritten by updates/upgrades.<br>
>>>><br>
>>>>      I'd move the mythtv.cnf file to /etc/mysql/mariadb.conf.d to<br>
>>>>      prevent future surprises.<br>
>>>><br>
>>>> I've gone over everything and I have to conclude that port 3306 on the<br>
>>>> backend being closed is the culprit. Since mythfrontend wants to use<br>
>>>> port 3306 to communicate with the backend I'm not going to get anywhere<br>
>>>> until port 3306 is opened. Unfortunately I do not know how to do that.<br>
>>>><br>
>>>> How do I open port 3306?<br>
>>>><br>
>>>> mike<br>
>>> As I said, fix the MariaDB bind-address.  Port 3306 is the port for<br>
>>> MariaDB, not MythTV.  MariaDB is still binding to 3306 only on<br>
>>> localhost.  It needs to bind 3306 on all IP addresses.<br>
>> ma<br>
>> How do I do that?/<br>
>><br>
>> mike<br>
> As per my previous post:<br>
><br>
> In your MariaDB settings, the "bind-address=127.0.0.1" is the one<br>
> being used by MariaDB, instead of the "bind-address=::", because of<br>
> the order it reads the config files.  The last one read is the one<br>
> that gets used.  So the simple thing to do is just to comment out the<br>
> "bind-address=127.0.0.1" line in the<br>
> /etc/mysql/mariadb.conf.d/50-server.cnf file by putting a # at the<br>
> start of the line.  Then restart MariaDB:<br>
><br>
> sudo systemctl restart mariadb<br>
> _______________________________________________<br>
<br>
Did that already.<br>
<br>
I did some more checking and found that "port = 3306" was commented out<br>
in /etc/mysql/mariadb.conf.d/50-server.cnf. I uncommented it and now I<br>
no longer see the "ERROR 2002 (HY000): Can't connect to MySQL server on<br>
'192.168.0.222' (115)" message.<br></blockquote><div><br></div><div><br></div><div class="gmail_default" style="font-family:monospace,monospace">`sudo netstat -peanut |grep LIST |grep -v 127.0.0.1 |grep 3306`</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">will tell you easily if MySQL (MariaDB) has a socket open on port 3306.  If that command returns a value, you can stop fiddling with the config files and move on to the firewall or user privileges. </div></div></div>