<div dir="ltr">thanks everyone! its working now<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 21, 2013 at 7:41 PM, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></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 Sat, 21 Sep 2013 17:33:25 -0400, you wrote:<br>
<br>
>On Sat, Sep 21, 2013 at 2:37 PM, fordy ydrof <<a href="mailto:fordy@ydrof.com">fordy@ydrof.com</a>> wrote:<br>
>> Database error was:<br>
>> Table './mythconverg/recordmatch' is marked as crashed and last (automatic?)<br>
>> repair failed<br>
><br>
>You need to fix this within mysql before doing anything with mythtv.<br>
><br>
>I'd start with running:<br>
><br>
>mysqlcheck --auto-repair mythconverg<br>
><br>
>and then see how it goes after that.<br>
><br>
>Eric<br>
<br>
</div></div>Yes, it looks like your old 0.24 database is a little corrupt and<br>
needs repair before attempting the upgrade. In Mythbuntu installs,<br>
there is a cron.daily script that you normally turn on from Mythbuntu<br>
Control Center that does a full check/repair on the database each day<br>
to prevent this sort of problem. So after you have things working<br>
again, you might like to do the same thing. Here is a copy of the<br>
script (optimise_db):<br>
<br>
#!/usr/bin/perl -w<br>
#<br>
# Connects to the mythtv database and repairs/optimizes the tables<br>
that it<br>
# finds. Suggested use is to cron it to run once per day.<br>
#<br>
# @url $URL$<br>
# @date $Date$<br>
# @version $Revision$<br>
# @author $Author$<br>
# @license GPL<br>
#<br>
<br>
# Includes<br>
use DBI;<br>
use MythTV;<br>
<br>
# Connect to mythbackend<br>
my $Myth = new MythTV({'connect' => 0});<br>
<br>
# Connect to the database<br>
$dbh = $Myth->{'dbh'};<br>
<br>
# Repair and optimize each table<br>
foreach $table ($dbh->tables) {<br>
unless ($dbh->do("REPAIR TABLE $table")) {<br>
print "Skipped: $table\n";<br>
next;<br>
};<br>
if ($dbh->do("OPTIMIZE TABLE $table")) {<br>
print "Repaired/Optimized: $table\n";<br>
}<br>
if ($dbh->do("ANALYZE TABLE $table")) {<br>
print "Analyzed: $table\n";<br>
<div class="HOEnZb"><div class="h5"> }<br>
}<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>
</div></div></blockquote></div><br></div>