<div dir="ltr">On Sat, Jul 13, 2013 at 3:46 AM, Enno Middelberg <span dir="ltr">&lt;<a href="mailto:enno.middelberg@gmail.com" target="_blank">enno.middelberg@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello, and apologies for the delayed reply.<br>
<br>
Both /etc/mythtv/config.xml and /home/enno/.mythtv/config.xml have the<br>
same user/password combination, which is mythtv/mythtv.<br>
<br>
<br>
The data base still exists at /var/lib/mysql - it must be possible to<br>
tell the backend where it is!<br>
<br>
<br>
Cheers,<br>
<br>
Enno<br>
<br>
<br>
<br>
2013/7/12 Thomas Mashos &lt;<a href="mailto:thomas@mashos.com">thomas@mashos.com</a>&gt;:<br>
&gt; On Thu, Jul 11, 2013 at 3:00 PM, Mike Perkins &lt;<a href="mailto:mikep@randomtraveller.org.uk">mikep@randomtraveller.org.uk</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 11/07/13 18:48, Thomas Mashos wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Thu, Jul 11, 2013 at 10:42 AM, Enno Middelberg<br>
&gt;&gt;&gt; &lt;<a href="mailto:enno.middelberg@gmail.com">enno.middelberg@gmail.com</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 2013/7/10 Jon Heizer &lt;<a href="mailto:jheizer@gmail.com">jheizer@gmail.com</a>&gt;:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; $ mysql -u root mythconverg<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; mysql&gt; grant all on mythconverg.* to mythtv@&quot;%&quot; identified by<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &quot;mythtv&quot;;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; mysql&gt; flush privileges;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I tried this, but didn&#39;t go anywhere:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Ok, so I have tried this now:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; mysql -u root -p mythconverg<br>
&gt;&gt;&gt;&gt; Enter password:<br>
&gt;&gt;&gt;&gt; Reading table information for completion of table and column names<br>
&gt;&gt;&gt;&gt; You can turn off this feature to get a quicker startup with -A<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Welcome to the MySQL monitor.  Commands end with ; or \g.<br>
&gt;&gt;&gt;&gt; Your MySQL connection id is 121<br>
&gt;&gt;&gt;&gt; Server version: 5.5.28-1 (Debian)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights<br>
&gt;&gt;&gt;&gt; reserved.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Oracle is a registered trademark of Oracle Corporation and/or its<br>
&gt;&gt;&gt;&gt; affiliates. Other names may be trademarks of their respective<br>
&gt;&gt;&gt;&gt; owners.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the current input<br>
&gt;&gt;&gt;&gt; statement.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; mysql&gt; grant all on mythconverg.* to mythtv@&quot;%&quot; identified by &quot;mythtv&quot;;<br>
&gt;&gt;&gt;&gt; Query OK, 0 rows affected (0.00 sec)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; mysql&gt; flush privileges;<br>
&gt;&gt;&gt;&gt; Query OK, 0 rows affected (0.00 sec)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; mysql&gt; quit<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; sudo /etc/init.d/mysql restart<br>
&gt;&gt;&gt;&gt; [sudo] password for enno:<br>
&gt;&gt;&gt;&gt; [ ok ] Stopping MySQL database server: mysqld.<br>
&gt;&gt;&gt;&gt; [ ok ] Starting MySQL database server: mysqld ..<br>
&gt;&gt;&gt;&gt; [info] Checking for tables which need an upgrade, are corrupt or were<br>
&gt;&gt;&gt;&gt; not closed cleanly..<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; sudo /etc/init.d/mythtv-backend restart<br>
&gt;&gt;&gt;&gt; Restarting MythTV server: mythbackend No /usr/bin/mythbackend found<br>
&gt;&gt;&gt;&gt; running; none killed.<br>
&gt;&gt;&gt;&gt; .<br>
&gt;&gt;&gt;&gt; .<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Cannot login to database<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Would you like to configure the database connection now? [no]<br>
&gt;&gt;&gt;&gt; [console is not interactive, using default &#39;no&#39;]<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; So this looks pretty much like what I had started with. What can I do<br>
&gt;&gt;&gt;&gt; to get this going?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Might want to set the password for the mythtv user in the database, then<br>
&gt;&gt;&gt; fix it in config.xml<br>
&gt;&gt;&gt;<br>
&gt;&gt; That&#39;s what the &quot;grant all&quot; operation does. It sets the password for the<br>
&gt;&gt; mythtv user to &quot;mythtv&quot;.<br>
&gt;&gt;<br>
&gt;&gt; Now I recall that ubuntu, like debian, likes to think up some new password<br>
&gt;&gt; combination when you install mythtv. Perhaps that&#39;s what happened here.<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;<br>
&gt;&gt; Mike Perkins<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mythtv-users mailing list<br>
&gt;&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;<br>
&gt;<br>
&gt; You&#39;re right, I didn&#39;t look up the password change syntax as I thought I<br>
&gt; remembered it correctly. Whoops.<br>
&gt;<br>
&gt; The password is only set on install for the mythtv user, shouldn&#39;t be reset.<br>
&gt; And even then, he manually reset the password on it (which IMO is the wrong<br>
&gt; way to do it on ubuntu/debian). Perhaps he should check<br>
&gt; /home/mythtv/.mythtv/config.xml and see if the right password exists there.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Thomas Mashos<br>
&gt;<br>
&gt;<br>
&gt;<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" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">That was not a typo. I&#39;d assume that the user that runs the backend is the &#39;mythtv&#39; user.  Please check the settings for the mythtv user, which is at <span style="font-size:13px;font-family:arial,sans-serif">/home/mythtv/.mythtv/config.</span><span style="font-size:13px;font-family:arial,sans-serif">xml</span></div>

<div class="gmail_extra"><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div class="gmail_extra"><font face="arial, sans-serif">If those credentials are the same. Are you able to login to mysql at the command line using those credentials with something like</font></div>

<div class="gmail_extra"><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, sans-serif">mysql -u mythtv -p mythconverg</font></div><div class="gmail_extra"><div class="gmail_extra">

<br clear="all"><div>Thanks,<br><br>Thomas Mashos</div></div></div><div class="gmail_extra"><br></div></div>