Hostname has been babylon from the day the machine was built (about 5 years ago). IP address was always 192.168.1.234. I've been forced by this breakage to change all occurrences of the correct IP address.<div><br></div><div>I've never set the unique identifier so the hostname and the profile in mythconverg.settings has never changed, but now everything has to be incorrect just to get it working again.</div><div><br></div><div>Ian<br><br><div class="gmail_quote"><div dir="ltr">On Mon, 4 Jun 2018, 19:41 Bill Meek, <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 06/04/2018 01:27 AM, Ian Richardson wrote:<br>
> I just changed all instances of 192.168.1.234 to 127.0.0.,1 in all<br>
> instances of config.xml. mythwelcome then picked up my theme. Progress,<br>
> although not what I expected. More promising was that mythfilldatabase<br>
> worked.<br>
> <br>
> But it wasn't until I amended all references in mythconverg.settings<br>
> (MariaDB [mythconverg]> update settings set data = '127.0.0.1' where data =<br>
> '192.168.1.234';) that mythwelcome and mythfrontend came back to life...<br>
> <br>
> None of these changes were necessary with version 29 last week. I could<br>
> have probably stuck with 29 if I hadn't changed all the IP addresses.<br>
> Something has definitely crept in to break mythttv.<br>
> <br>
> OK, looks like there's a separate issue with mythtv-status, though.<br>
> <br>
> I've had the 012QMYSQL3 errors for a long time, although the DB is fine (as<br>
> far as all the checks are concerned), and this has never caused me any<br>
> issues in mythtv<br>
<br>
The address/hostname in config.xml is for connecting to the SQL server *only*.<br>
It isn't the same as the DB hostname column in settings, although it can be.<br>
<br>
The hostname settings is really a profile name.<br>
<br>
Changing it only in settings misses the other tables it's used in. That's what<br>
the section on changing the hostname at <a href="https://www.mythtv.org/wiki/Database_Backup_and_Restore" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Database_Backup_and_Restore</a><br>
is for.<br>
<br>
A common settings.hostname issue comes up when a DB is ported from a different<br>
host to a new one with a new name. Or, when the host's name is changed. *Not*<br>
saying that that's what happened here. Readers have no idea if other DB changes<br>
were made outside of MythTV.<br>
<br>
This will show you what other profiles you've used:<br>
<br>
     SELECT DISTINCT hostname FROM settings ORDER BY hostname;<br>
<br>
If there's one that matches the log you posted elsewhere, that's what would<br>
be used. See this line in the current logs:<br>
<br>
     ... Using localhost value of babylon<br>
<br>
It's most likely that it's the hostname used in other tables.<br>
<br>
-- <br>
Bill<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>