<br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 11:28 AM, Harry%20Devine <span dir="ltr">&lt;<a href="mailto:lifter89@comcast.net" target="_blank">lifter89@comcast.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:Arial"><br><br><hr><b>From: </b>&quot;Nick Rout&quot; &lt;<a href="mailto:nick.rout@gmail.com" target="_blank">nick.rout@gmail.com</a>&gt;<br><b>To: </b>&quot;Discussion about MythTV&quot; &lt;<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>&gt;<br>
<b>Sent: </b>Monday, November 19, 2012 4:48:35 PM<br><b>Subject: </b>Re: [mythtv-users] Setting up a new backend from scratch<br><br><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Nov 20, 2012 at 10:30 AM, Harry Devine <span dir="ltr">&lt;<a href="mailto:lifter89@comcast.net" target="_blank">lifter89@comcast.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-family:&#39;Verdana&#39;;font-size:8pt;font-weight:400;font-style:normal">Nope, same problem.  Just keeps on looping back to the first screen.<br>
<br>
Harry<br><br></div></div></blockquote><div><br><br>Please don&#39;t top post<br><br>Clear out (or check) all the config.xml and mysql.txt files in /etc/mythtv, ~user/.mythtv and ~mythtv/.mythtv<br><br>When you set up the backend on your former frontend only machine a new random password will have been generated by the package mythtv-common. If you didn&#39;t note this password, you can reset it by running sudo dpkg-reconfigure mythtv-common and either chooing your own or letting it create another random one.<br>

 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:&#39;Verdana&#39;;font-size:8pt;font-weight:400;font-style:normal"><div class="gmail_quote">

Mark Greenwood &lt;<a href="mailto:fatgerman@gmail.com" target="_blank">fatgerman@gmail.com</a>&gt; wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div><div>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">On Monday 19 Nov 2012 21:06:43 Harry%20Devine wrote:<br></p>
<p style="margin-top:12px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-size:12pt;font-family:&#39;Arial&#39;">I have a backend on the latest 0.25-fixes that went &quot;belly up&quot; on me the other day (it boots to a BusyBox prompt, and I suspect the hard disk failed).  My main PC in my house is running Ubuntu, so I figured I&#39;d configure MythTV on it since my tuners are 1 HDHR and 1 HDHR Prime.  I have no problem starting over from scratch with a fresh MythTV installation, I just don&#39;t want to reinstall from a Mythbuntu CD.<br>

<br>My main PC used to have act as a frontend, but now I&#39;d like have a combined BE/FE combo.  I tried using the mythbuntu control center to configure the backend role, but whenever I run mythtv-setup, it tells me that it can&#39;t connect to the mysql server, even though its running.  I get prompted for my country and language, then it says that it can&#39;
 t
connect to my mysql database on my IP.  So, what I want to know is the following:<br><br>1) How do I remove the previous FE stuff?<br></span><br>You probably just need to delete ~/.mythtv/config.xml, otherwise it&#39;ll still be looking for your old backend. That probably answers question 2 as well.</p>


<p style="margin-top:12px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-size:12pt;font-family:&#39;Arial&#39;">2) How do I configure mysql properly so the mythtv-setup will connect to it.<br>

3) Are there any other &quot;gotchas&quot; that I haven&#39;t covered in this approach?<br><br>Thanks for any advice!<br>Harry<br><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br><br></p><p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p></div></div><pre style="white-space:pre-wrap;word-wrap:break-word;font-family:sans-serif;margin-top:0px">
<hr><br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank">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><span><font color="#888888"><br>

</font></span></pre></blockquote></div><span><font color="#888888"><br></font></span></div></div></blockquote><br></div></div>Sorry about the top post.  I responded from my phone and wasn&#39;t paying attention.  Anyway, I did like you said: cleared out the files that you mentioned, ran dpkg-reconfigure mythtv-common, chose the user name and password, and I get the same problem: I run mythtv-setup and it says it can&#39;t connect to the mysql database.  I make sure that my host, port, user name, and password are all correct, then click Next twice.  I get the first screen back again saying it can&#39;t connect to the database.<br>
<br>Any other thoughts?<span class="HOEnZb"><font color="#888888"><br></font></span></div></div></div></blockquote><div><br><br>Check what interface mysql is running on. sudo netstat -tanp|grep 3306<br><br>If it is listening on 127.0.0.1 then sudo dpkg-reconfigure mythtv-database and answer &quot;yes&quot; to whether other computers will connect. Then make sure all the rest of your setup is using the lan ip address (probably 192.168.x.x) of the backend, not 127.0.0.1.<br>
<br>You need this in the screen that has the database details, and then once you start mythtv-setup there are two places in the first page under &quot;General&quot;.<br><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:Arial"><div class="gmail_quote"><span class="HOEnZb"><font color="#888888">Harry</font></span><div class="im"><br><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-family:&#39;Verdana&#39;;font-size:8pt;font-weight:400;font-style:normal"><span><font color="#888888">
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.</font></span></div></div><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://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div></div><div class="im"><br>
<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://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</div></div></div><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>
<br></blockquote></div><br>