<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 3, 2014 at 5:23 PM,  <span dir="ltr">&lt;<a href="mailto:mythtv-users-request@mythtv.org" target="_blank">mythtv-users-request@mythtv.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Date: Mon, 3 Nov 2014 14:01:31 -0400<br>
From: Craig Treleaven &lt;<a href="mailto:ctreleaven@cogeco.ca">ctreleaven@cogeco.ca</a>&gt;<br>
Subject: Re: [mythtv-users] mythfilldatabase fails on mariadb<br>
<br>
At 12:15 PM -0500 11/3/14, Darwin O&#39;Connor wrote:<br>
<br>
&gt;However I did have problems getting mythbackend to connect to<br>
&gt;mariadb. It seems it was trying to connect to the mysql sock file<br>
&gt;instead of the mariadb one and I couldn&#39;t find where that was<br>
&gt;configured. I fixed it by changing the hostname in the config.xml<br>
&gt;file to 10.0.0.10.<br>
<br>
Normally socket problems are because there is an /etc/my.cnf file<br>
that is overriding /opt/local/etc/mariadb/my.cnf .  If you have such,<br>
please either rename or remove it.<br>
<br></blockquote><div><br></div><div>I had no /etc/my.cnf<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt;I have switched the hostname back to localhost and the problems<br>
&gt;connecting and the problem with mythfilldatabase seem to have<br>
&gt;disappeared so far. Maybe the reboot fixed it.<br>
<br>
What did you change:  /opt/local/var/mythtvuser/.mythtv/config.xml ?<br>
This is the file used by the backend and its children (including<br>
mythfilldatabase when run automatically).<br>
<br></blockquote><div><br>The first time I changed the host to 10.0.0.10 on both that one and ~darwin/.mythtv/config.xml. I have put it back to localhost at both places.<br></div></div></div></div>