<div dir="ltr">On Sat, Feb 21, 2015 at 2:29 PM, John Pilkington <span dir="ltr"><<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><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 21/02/15 13:52, UB40D wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does it make sense to have to repair the tables before dropping the<br>
database or am I on the wrong trail?<br>
</blockquote>
<br></div></div>
There doesn't seem much point in repairing it before dropping.   From:<br>
<br>
/usr/share/mythtv/<a href="http://mythconverg_restore.pl" target="_blank">mythconverg_<u></u>restore.pl</a><br>
<br>
( and mythconverg_restore --help   (?) )<br>
<br>
If you are replacing an existing database,<br>
you must first drop the old database. You may do this using the mysql client<br>
executable by issuing the command:<br>
<br>
# mysql -umythtv -p mythconverg -e "DROP DATABASE IF EXISTS mythconverg;"<br>
<br>
(fix the database name and username, as required). Then, execute the mc.sql<br>
script as described in the MythTV HOWTO ( <a href="http://www.mythtv.org/docs/" target="_blank">http://www.mythtv.org/docs/</a> ) to<br>
prepare a new (empty) database.<br>
</blockquote><div><br></div><div>Thanks. I shall now attempt to follow your instructions, however from reading the wiki docs of mythconverg_restore, which I had done before posting, it seemed that the --drop-database and --create-database options would do just that. I am not sure I understand why it should work manually but not from the restore script. Let's see.</div></div></div></div>