<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 28, 2017 at 4:11 PM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Hoi Ian,<br>
<br>
Thursday, September 28, 2017, 9:32:37 PM, you wrote:<br>
<br>
</span><div><div class="h5">> Doing the clean install method after upgrading my system to 16.04.<br>
<br>
<br>
> I ran the following command line to install the old database:<br>
<br>
<br>
> sudo -u mythtv /usr/share/mythtv/<a href="http://mythconverg_restore.pl" rel="noreferrer" target="_blank">mythconverg_<wbr>restore.pl</a> --verbose<br>
> --drop_database --create_database  --directory /home/mythtv<br>
> --filename mythconverg-1317-<wbr>20170928112702.sql.gz<br>
<br>
<br>
<br>
> It fails with an unable to connect to database and this environment:<br>
<br>
<br>
> Configuring environment:<br>
>   -    username: mythtv<br>
>   -        HOME: /home/ian<br>
>   - MYTHCONFDIR: /home/ian/.mythtv<br>
<br>
<br>
> Parsing configuration files:<br>
>   - checking: /home/ian/.mythtv/config.xml<br>
>   - checking: /usr/local/share/mythtv/mysql.<wbr>txt<br>
>   - checking: /usr/share/mythtv/mysql.txt<br>
>   - checking: /usr/local/etc/mythtv/mysql.<wbr>txt<br>
>   - checking: /etc/mythtv/mysql.txt<br>
>   - checking: /home/ian/.mythtv/mysql.txt<br>
>   - checking: mysql.txt<br>
>   - checking: /home/ian/.mythtv/mysql.txt<br>
>   - checking: /home/ian/.mythtv/backuprc<br>
<br>
<br>
> Doing a 'locate config.xml' it's only at these locations:<br>
<br>
<br>
> /etc/mythtv/config.xml<br>
> /home/mythtv/.mythtv/config.<wbr>xml<br>
> /usr/share/doc/mythtv-backend/<wbr>contrib/config_files/config.<wbr>xml<br>
> /usr/share/mythtv/config.xml<br>
<br>
<br>
> How do I get the command line to ignore /home/ian and /home/ian/.mythtv?<br>
<br>
<br>
> Thanks!<br>
<br>
<br>
</div></div>Oops I didn't correctly read your command line. It will look in the<br>
users home directory, so obviously the user mythtv has /home/ian as<br>
the home directory. Which is weird as it probably also is the home<br>
directory of the user ian.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>Should I just copy the config.xml that was created in /home/mythtv/.mythtv during setup to /home/ian/.mythtv?</div><div><br></div><div>Running out to corner for coffee. Will be able to respond again in about 10min. :-)</div></div></div></div>