<div dir="ltr"><div>All:</div><div><br></div><div>Thanks for the input.  I'll give it a shot when I get home tonight.</div><div><br></div><div>George<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 30, 2019 at 10:14 PM Ian Cameron <<a href="mailto:mkbloke@gmail.com">mkbloke@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 31 Jan 2019 at 02:45, Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
You can just use a copy of those database files, as long as the<br>
version of MySQL or MariaDB is the same as when they were last being<br>
used in your old system.  Just copy the entire mythconverg directory.<br>
Check that the ownership of the files is correct after you copy the<br>
directory.  Since your new system is a clean install rather than an<br>
upgrade, the ID numbers assigned to the mysql and mysql group may be<br>
different from the old system.  So you may need to do a "chown -R<br>
mysql:mysql /var/lib/mysql/mythconverg" command to fix the ownership.<br>
</blockquote><div><br></div><div>Just to add - copying the mythconverg files alone will require adding the mythtv user again/granting privileges, as that data is stored in the main mysql database tables, AFAIK.</div><div><br></div><div>The DB initialisation file at /usr/share/mythtv/sql/mc.sql on my 0.28 MythTV system does the following:</div><div><br></div><div>GRANT ALL ON mythconverg.* TO mythtv@localhost IDENTIFIED BY "password";<br>FLUSH PRIVILEGES;<br>GRANT CREATE TEMPORARY TABLES ON mythconverg.* TO mythtv@localhost IDENTIFIED BY "password";<br>FLUSH PRIVILEGES;<br></div><div><br></div><div>You can run the above SQL statements from the command line using the mysql client.  You can obtain the password for your old system from the MythTV config.xml file and replace it in the statements above as necessary.</div><div><br></div><div>Cheers, Ian</div><div><br></div></div></div></div></div>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>