<p dir="ltr">On 20/11/2012 6:21 PM, &quot;Nick Rout&quot; &lt;<a href="mailto:nick.rout@gmail.com">nick.rout@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Nov 20, 2012 at 5:41 PM, Igor Cicimov &lt;<a href="mailto:icicimov@gmail.com">icicimov@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Nov 20, 2012 at 2:10 PM, Harry%20Devine &lt;<a href="mailto:lifter89@comcast.net">lifter89@comcast.net</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ________________________________<br>
&gt;&gt;&gt; From: &quot;Bill Meek&quot; &lt;<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>&gt;<br>
&gt;&gt;&gt; To: <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt;&gt; Sent: Monday, November 19, 2012 6:32:50 PM<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Subject: Re: [mythtv-users] Setting up a new backend from scratch<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 11/19/2012 05:09 PM, Harry Devine wrote:<br>
&gt;&gt;&gt; ...<br>
&gt;&gt;&gt; &gt; Yep, it&#39;s running, and I can login using my username &amp; password.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Just in case, &quot;my username&quot; sounds like it could be &quot;harry&quot;,<br>
&gt;&gt;&gt; you must test using &quot;mythtv&quot;. But I suspect you know that.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; And, like Nick suggested, that mythtv its password exists in ALL<br>
&gt;&gt;&gt; copies of config.xml and mysql.txt. locate -b &#39;\mysql.txt&#39; &#39;\config.xml&#39;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Next step: mythtv-setup --logpath /tmp and exit.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Then pastebinit /tmp/mythtv-setup.20121119231914.6749.log (or whatever<br>
&gt;&gt;&gt; file was created. Post the link returned by pastebinit here. If you<br>
&gt;&gt;&gt; don&#39;t have it, sudo apt-get install pastebinit (I&#39;ve become a bit fan<br>
&gt;&gt;&gt; of it.)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -- <br>
&gt;&gt;&gt; Bill<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Yeah, my username was not mythtv.  So I cleared out all of the mysql.txt and config.xml files (I think all of them), ran &quot;sudo dpkg-reconfigure mythtv-common&quot; as Nick suggested, let the mythtv user get a new password generated, and ran mythtv-setup again.  Same result.  When I try to log in using &quot;mysql -u mythtv -p mythconverg&quot;, I get &quot;ERROR 1045 (28000): Access denied for user &#39;mythtv&#39;@&#39;localhost&#39; (using password: YES)&quot;.<br>

&gt;&gt;&gt;<br>
&gt;&gt;&gt; BTW, here&#39;s the pastebinit URL that you requested:  <a href="http://paste.ubuntu.com/1371704">http://paste.ubuntu.com/1371704</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt; Harry<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; mythtv-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt;&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; mythtv-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt;&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Log in as root/admin in mysql and grant all to mythtv user on the mythconverg database:<br>
&gt;&gt;<br>
&gt;&gt; $ mysql -u root -p &lt;root_password&gt;<br>
&gt;&gt; mysql&gt; grant all on mythconverg.* to &#39;mythtv&#39;@&#39;localhost&#39; identified by &#39;mythconverg&#39;;<br>
&gt;&gt; mysql&gt; flush privileges;<br>
&gt;&gt; mysql&gt; quit<br>
&gt;&gt;<br>
&gt;&gt; $ mysql -u mythtv -p mythconverg<br>
&gt;&gt;<br>
&gt;&gt; to check if it works now. If not, you have something else messed up. Hope you know your mysql admin password ...<br>
&gt;&gt;<br>
&gt;&gt; This error in your pastebin:<br>
&gt;&gt;<br>
&gt;&gt; &quot;Can&#39;t connect to MySQL server on &#39;192.168.1.106&#39; (111)&quot;<br>
&gt;&gt;<br>
&gt;&gt; indicates the database is not listening on your host IP but on localhost interface only (127.0.0.1). Edit your /etc/my.cnf file and change the bind address under [mysqld] section which in your case should look like:<br>

&gt;&gt; bind = 127.0.0.1             # this might be localhost too<br>
&gt;&gt; to<br>
&gt;&gt; bind = 192.168.1.106<br>
&gt;&gt; or if you want to listen to any interface you have configured on the box to<br>
&gt;&gt; bind = 0.0.0.0<br>
&gt;&gt;<br>
&gt;&gt; Then you need to execute the above mysql steps again for mythtv user for the local host and EVERY other client that is going to connect to this backend database:<br>
&gt;&gt;<br>
&gt;&gt; $ mysql -u root -p &lt;root_password&gt;<br>
&gt;&gt; mysql&gt; grant all on mythconverg.* to &#39;mythtv&#39;@&#39;192.168.1.106&#39; identified by &#39;mythconverg&#39;;<br>
&gt;&gt; mysql&gt; grant all on mythconverg.* to &#39;mythtv&#39;@&#39;IP_frontend_1&#39; identified by &#39;mythconverg&#39;;<br>
&gt;&gt; mysql&gt; grant all on mythconverg.* to &#39;mythtv&#39;@&#39;IP_frontend_2&#39; identified by &#39;mythconverg&#39;;<br>
&gt;&gt; mysql&gt; flush privileges;<br>
&gt;&gt; mysql&gt; quit<br>
&gt;&gt;<br>
&gt;&gt; and test from the local box and remote frontends:<br>
&gt;&gt;<br>
&gt;&gt; $ mysql -h 192.168.1.106 -u mythtv -p mythconverg<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; I really wish people wouldn&#39;t advise to go outside the package management and configuration of the particular distro.<br>
&gt;<br>
&gt;<br>
Nick, I agree but since he already tried the preferred way twice and it didnt work for him maybe this one will.<br>
&gt; _______________________________________________<br>
&gt; mythtv-users mailing list<br>
&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;<br>
</p>