<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 21, 2015 at 6:02 PM Josh Rosenberg <<a href="mailto:mythtv@desh.info">mythtv@desh.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Dec 21, 2015 at 7:00 AM,  <<a href="mailto:mythtv-users-request@mythtv.org" target="_blank">mythtv-users-request@mythtv.org</a>> wrote:<br>
> Message: 7<br>
> Date: Sun, 20 Dec 2015 16:51:56 -0600<br>
> From: Bill Meek <<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>><br>
> To: <a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
> Subject: Re: [mythtv-users] FE cannot connect to database<br>
> Message-ID: <<a href="mailto:5677310C.90104@gmail.com" target="_blank">5677310C.90104@gmail.com</a>><br>
> Content-Type: text/plain; charset=windows-1252; format=flowed<br>
><br>
> On 12/20/2015 04:13 PM, Mike Carron wrote:<br>
>> On 12/20/2015 11:57 AM, Bill Meek wrote:<br>
>>> Could be interesting to do:<br>
>>><br>
>>>    ls -l /etc/mysql/conf.d/mythtv.cnf<br>
>> ***<br>
>> It was changed yesterday afternoon at exactly the same time the MBE was updated. The bind-address=0.0.0.0 was commented out though.<br>
><br>
> Sounds like the cause of the problem. Unless you've got a backup of that file to check,<br>
> that's as far as I know how to go. Since your FEs were connecting, the # most likely<br>
> wasn't there before the  update. I'd remove it and restore my.cnf to the package<br>
> manager's version (so you won't get bugged about it if a new my.cnf is released.)<br>
><br>
> --<br>
> Bill<br>
<br>
I just had this problem today too. A routine apt-get upgrade (though<br>
the first in a month or so) prompted me to keep or overwrite my<br>
mythtv.cnf. Here is the one that I believe I had beforehand (though I<br>
can't verify this) :<br>
[mysqld]<br>
#bind-address=0.0.0.0<br>
default_storage_engine=MyISAM<br>
<br>
I told apt to keep mine in place, but then things broke. So I switched<br>
to the one that Apt wanted to give me:<br>
[mysqld]<br>
#bind-address=::<br>
max_connections=100<br>
<br>
But that was broken too. And then, after reading this list, I told<br>
mythbuntu-control-centre to re-enable mysql, which fixed the problem.<br>
Here is my file now:<br>
[mysqld]<br>
bind-address=0.0.0.0<br>
max_connections=100<br>
<br>
So I'm not sure what went wrong, but it's something with the<br>
packages/sources, since I'm not used to being prompted about any<br>
configuration changes when doing an ordinary apt-get upgrade (as<br>
opposed to dist-upgrade). Anyway, it's fixed now for me, but I bet<br>
there are a bunch of Mythbuntu users out there experiencing similar<br>
issues.<br>
<br>
Josh<br>
_______________________________________________<br><br></blockquote><div><br></div><div>Josh,</div><div><br></div><div>Can you let me know what is in /etc/mysql/my.cnf for bind-address? </div></div></div><div dir="ltr">-- <br></div><div dir="ltr">Thomas Mashos</div>