<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Times New Roman'; font-size:11pt; font-weight:400; font-style:normal;">On Tuesday 25 August 2009 18:59:47 Jim Stichnoth wrote:<br>
&gt; On Tue, Aug 25, 2009 at 2:41 PM, Eric A.<br>
&gt;<br>
&gt; Boney&lt;mailinglists@vanhlebarsoftware.com&gt; wrote:<br>
&gt; &gt; I am having some issues getting my slave backend to connect to the mysql<br>
&gt; &gt; database on the master backend.<br>
&gt; &gt;<br>
&gt; &gt; Somehow the master sees that the slave has an additional tuner card<br>
&gt; &gt; available, but it doesn't show it as connected. In the logs on the slave<br>
&gt; &gt; I see errors about not being able to connect to the database. I have<br>
&gt; &gt; verified that the ip address is correct, that the password is correct and<br>
&gt; &gt; that the slave backend is actually running.<br>
&gt; &gt;<br>
&gt; &gt; I have looked at the permissions of the "mythtv" user in mysql and it has<br>
&gt; &gt; complete access both locally and with the "%" sign. I do not have MySQL<br>
&gt; &gt; installed on the slave server at all.<br>
&gt; &gt;<br>
&gt; &gt; I looked at the my.cnf configuration file on my master backend and I have<br>
&gt; &gt; tried both commenting and un-commenting the line bind: 192.168.1.xxx out.<br>
&gt; &gt; Neither seems to allow the slave to access the database on the master.<br>
&gt; &gt;<br>
&gt; &gt; I am at a loss currently. If there are other items from either of the<br>
&gt; &gt; logs that might help, please just ask.<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; -Eric<br>
&gt;<br>
&gt; Check that you actually have a valid mysql.txt file in the location<br>
&gt; where the backend is looking for it.  That location depends on the<br>
&gt; home directory of the user that starts up the backend process.  And if<br>
&gt; the backend is started up at boot time, there may not be a user and<br>
&gt; home directory associated.  I think I have mysql.txt files set up in<br>
&gt; ~mythtv/.mythtv/mysql.txt, ~root/.mythtv/mysql.txt, and<br>
&gt; /.mythtv/mysql.txt, and possibly other locations.  Maybe someone can<br>
&gt; clarify exactly where one should keep these files.<br>
&gt;<br>
&gt; Jim<br>
Ok so I found the issue! one of the stupid mysql.txt files did not have the actual ip address listed but had localhost instead. Once I changed this to the actual ip address and restarted the backend, presto! Everything working now.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thanks again to everyone for the help, but man do we really need to have 4 different locations for such an important configuration file on the backends? Why isn't there just one location for this file and it be updated from the mythtv-setup environment?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>-Eric</p></body></html>