<p dir="ltr">I think I found the issue. It's only on the 0.28 packaging.I need to find some time to fix it though. I believe it's all the merges that were done in August</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 4, 2015, 5:45 PM 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 4 Nov 2015 12:39:22 -0500, you wrote:<br>
<br>
>Hi there,<br>
>I'm on mythbuntu 14.4 LTS with .28 updates.<br>
><br>
>It's been working wonderfully, but the last two times I've accepted updates<br>
>the mysql config has been changed in /etc/mysql/conf.d/mythtv.cnf<br>
><br>
>The main impact is that the bind-addr setting is commented out and<br>
>mythfrontend can't connect.<br>
><br>
>The first time it took me a while to figure out what happened, and the<br>
>second time it was an easy fix.<br>
><br>
>Am I supposed to be putting that setting somewhere else so that it doesn't<br>
>get whomped on update?<br>
><br>
>Cheers,<br>
>Andrew<br>
<br>
I am on 0.27-fixes, and my /etc/mysql/conf.d/mythtv.cnf file has never<br>
been overwritten in an update, so it must be something only the 0.28<br>
updates are doing.<br>
<br>
The options in the mysqld *.cnf files are read in order. Except for<br>
the --user option, where there are multiple settings for the same one,<br>
the last one read is used. At the end of the /etc/mysql/my.cnf file,<br>
all the *.cnf files in /etc/mysql/conf.d are read in an include-dir<br>
option. So if you want to override any options read in earlier files<br>
like /etc/mysql/conf.d/mythtv.cnf, you need to create a new *.conf<br>
file whose name is later in the collating order than mythtv.conf. I<br>
have one called mythtv-tweaks.cnf (for the recommended settings to<br>
tweak database performance), and another called mythtv-tweaks-jsw.cnf,<br>
where I put personal tweaks. The latter also has my bind-address<br>
line, as well as in /etc/mysql/conf.d/mythtv.cnf.<br>
<br>
If creating a new *.cnf file, be aware that it will be ignored if it<br>
has the wrong permissions. This is what mine look like:<br>
<br>
root@mypvr:/etc/mysql/conf.d# ll<br>
total 24<br>
drwxr-xr-x 2 root root 4096 Nov 3 16:15 ./<br>
drwxr-xr-x 3 root root 4096 Oct 27 22:38 ../<br>
-rw-r--r-- 1 root root 0 Jul 17 2014 .keepme<br>
-rw-r--r-- 1 root root 21 Mar 30 2012 mysqld_safe_syslog.cnf<br>
-rw-r--r-- 1 root root 30 Nov 3 16:15 mythtv.cnf<br>
-rw-r--r-- 1 root root 368 Aug 26 2012 mythtv-tweaks.cnf<br>
-rw-r--r-- 1 root root 1440 Oct 4 2013 mythtv-tweaks-jsw.cnf<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div><div dir="ltr">-- <br></div><div dir="ltr">Thomas Mashos</div>