<div class="gmail_quote">On Fri, Oct 5, 2012 at 5:38 PM, Thomas Mashos <span dir="ltr">&lt;<a href="mailto:thomas@mashos.com" target="_blank">thomas@mashos.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On Fri, Oct 5, 2012 at 3:34 PM, Andrew &lt;<a href="mailto:mythtv@heathsworld.com">mythtv@heathsworld.com</a>&gt; wrote:<br>
&gt; On Fri, Oct 5, 2012 at 4:01 PM, Thomas Mashos &lt;<a href="mailto:thomas@mashos.com">thomas@mashos.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Oct 3, 2012 at 7:53 AM, Steven Adeff &lt;<a href="mailto:adeffs.mythtv@gmail.com">adeffs.mythtv@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; On Wed, Oct 3, 2012 at 9:28 AM, Martin Moores &lt;<a href="mailto:moores.martin@gmail.com">moores.martin@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt; On 3 October 2012 14:17, Matt Emmott &lt;<a href="mailto:memmott@gmail.com">memmott@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; I believe that starting with 0.26 the mysql.txt is no longer used.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thanks Matt.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Your quite right and I remember reading about this on the list, just<br>
&gt;&gt; &gt;&gt; couldn&#39;t find the threads.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; So I looked in config.xml as well, replacement for mysql.txt.  The<br>
&gt;&gt; &gt;&gt; password<br>
&gt;&gt; &gt;&gt; was wrong in there, so I updated that, but still the same error<br>
&gt;&gt; &gt;&gt; message.  I<br>
&gt;&gt; &gt;&gt; also tried some different &quot;host&quot; values (127.0.0.1, 192.168.10.12,<br>
&gt;&gt; &gt;&gt; localhost), but that didn&#39;t help either.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Cheers<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; it&#39;s a packaging issue with Ubuntu. you have to manually edit the<br>
&gt;&gt; &gt; post-install script for the mythdatabase package with your specific<br>
&gt;&gt; &gt; information. I put it in manually as I didn&#39;t want to take the time to<br>
&gt;&gt; &gt; figure out how they&#39;re &quot;extracting&quot; the info. It&#39;s really quite<br>
&gt;&gt; &gt; annoying.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Steve<br>
&gt;&gt; &gt; <a href="http://www.mythtv.org/wiki/User:Steveadeff" target="_blank">http://www.mythtv.org/wiki/User:Steveadeff</a><br>
&gt;&gt; &gt; Before you ask, read the FAQ!<br>
&gt;&gt; &gt; <a href="http://www.mythtv.org/wiki/Frequently_Asked_Questions" target="_blank">http://www.mythtv.org/wiki/Frequently_Asked_Questions</a><br>
&gt;&gt; &gt; then search the Wiki, and this list,<br>
&gt;&gt; &gt; <a href="http://www.gossamer-threads.com/lists/mythtv/" target="_blank">http://www.gossamer-threads.com/lists/mythtv/</a><br>
&gt;&gt; &gt; Mailinglist etiquette -<br>
&gt;&gt; &gt; <a href="http://www.mythtv.org/wiki/Mailing_List_etiquette" target="_blank">http://www.mythtv.org/wiki/Mailing_List_etiquette</a><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" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m completely unable to reproduce the issue using a fresh 12.04.1<br>
&gt;&gt; install (upgraded using default repos), enabling 0.26 repo, then doing<br>
&gt;&gt; an upgrade there. So it would seem to me that it is not a packaging<br>
&gt;&gt; issue. The code you are questioning is as follows<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; CONFIG=/etc/mythtv/config.xml<br>
&gt;&gt; if [ -e $CONFIG ]; then<br>
&gt;&gt;     db_set mythtv/mysql_mythtv_dbname &quot;`xpath  -q -e<br>
&gt;&gt; &#39;string(//DBName)&#39; $CONFIG 2&gt;/dev/null`&quot;<br>
&gt;&gt;     db_set mythtv/mysql_mythtv_user &quot;`xpath  -q -e<br>
&gt;&gt; &#39;string(//DBUserName)&#39; $CONFIG 2&gt;/dev/null`&quot;<br>
&gt;&gt;     db_set mythtv/mysql_mythtv_password &quot;`xpath  -q -e<br>
&gt;&gt; &#39;string(//DBPassword)&#39; $CONFIG 2&gt;/dev/null`&quot;<br>
&gt;&gt;     db_set mythtv/mysql_host &quot;`xpath  -q -e &#39;string(//DBHostName)&#39;<br>
&gt;&gt; $CONFIG 2&gt;/dev/null`&quot;<br>
&gt;&gt; fi<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Which says to read the /etc/mythtv/config.xml file and set the value<br>
&gt;&gt; to what is returned (and throw away error messages). So if you run the<br>
&gt;&gt; following commands and don&#39;t get returns of your DBName, DBUserName,<br>
&gt;&gt; DBPassword, and DBHostName, then there is something wrong with your<br>
&gt;&gt; config.xml file.<br>
&gt;&gt;<br>
&gt;&gt; xpath  -q -e &#39;string(//DBName)&#39; /etc/mythtv/config.xml 2&gt;/dev/null<br>
&gt;&gt; xpath  -q -e &#39;string(//DBUserName)&#39; /etc/mythtv/config.xml 2&gt;/dev/null<br>
&gt;&gt; xpath  -q -e &#39;string(//DBPassword)&#39; /etc/mythtv/config.xml 2&gt;/dev/null<br>
&gt;&gt; xpath  -q -e &#39;string(//DBHostName)&#39; /etc/mythtv/config.xml 2&gt;/dev/null<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; For instance, on this VM I just setup, I get<br>
&gt;&gt;<br>
&gt;&gt; thomas@tmashos-testboxen5:~$ xpath  -q -e &#39;string(//DBName)&#39;<br>
&gt;&gt; /etc/mythtv/config.xml 2&gt;/dev/null<br>
&gt;&gt; mythconverg<br>
&gt;&gt; thomas@tmashos-testboxen5:~$ xpath  -q -e &#39;string(//DBUserName)&#39;<br>
&gt;&gt; /etc/mythtv/config.xml 2&gt;/dev/null<br>
&gt;&gt; mythtv<br>
&gt;&gt; thomas@tmashos-testboxen5:~$ xpath  -q -e &#39;string(//DBPassword)&#39;<br>
&gt;&gt; /etc/mythtv/config.xml 2&gt;/dev/null<br>
&gt;&gt; Nal0pMRh<br>
&gt;&gt; thomas@tmashos-testboxen5:~$ xpath  -q -e &#39;string(//DBHostName)&#39;<br>
&gt;&gt; /etc/mythtv/config.xml 2&gt;/dev/null<br>
&gt;&gt; localhost<br>
&gt;&gt; thomas@tmashos-testboxen5:~$<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt;<br>
&gt;&gt; Thomas Mashos<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;<br>
&gt; It bit me big time and is the exact error in the start of this thread.<br>
&gt; 12.04.1 LTS.  Still haven&#39;t got it to work....<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>
</div></div>Did you verify that the 4 commands I posted return appropriate values?<br>
Did you test logging into mysql with all 4 of those values?<br>
<div class="HOEnZb"><div class="h5"><br>
Thanks,<br>
<br>
Thomas Mashos<br></div></div></blockquote><div><br></div><div>Thomas,</div><div><br></div><div>I just came back to this and saw the posts about the config.xml not being upgraded.  I went into that config and noticed it didn&#39;t copy my current settings there and the L:/P: was mythtv/mythtv when it should have been mythtv/mythconverg.  It&#39;s been mythtv/mythconverg as long as I can remember for the default install so I just edited the config.xml back to my settings and it worked.</div>

<div><br></div><div>The only problem I have now is that I had to change my host setting to 127.0.0.1 from the age old 192.168.0.1 setting i&#39;ve had to connect to the DB.</div><div><br></div><div>Andrew</div></div><br>