<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Sun, Apr 17, 2016 at 9:01 PM, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 04/17/2016 02:08 PM, Ryan Patterson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
During my preparations for upgrading to mythtv 0.28, <a href="http://mythconverg_backup.pl" rel="noreferrer" target="_blank">mythconverg_backup.pl</a> <<a href="http://mythconverg_backup.pl" rel="noreferrer" target="_blank">http://mythconverg_backup.pl</a>> failed to produce a usable database backup.  It errors because table mythconverg.weatherdatalayout is not present.<span class=""><br>
<br>
I'm not sure why the backup script is dependent on those tables.<br>
</span></blockquote>
<br>
It's not.  Your database shows that those tables exist, but they don't.  Therefore, your MySQL database (not MySQL Server, but the mythconverg database you're using on it) is broken.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
  I stopped using mythweather a long time ago.  But I certainly didn't manually remove the tables.<br>
<br></span>
Running <a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">optimize_mythdb.pl</a> <<a href="http://optimize_mythdb.pl" rel="noreferrer" target="_blank">http://optimize_mythdb.pl</a>> does not show any errors or warnings.<span class=""><br>
<br>
But mysqlcheck complains about three missing tables:<br>
weatherdatalayout<br>
weatherscreens<br>
weathersourcesettings<br>
<br>
I recompiled mythplugins with mythweather enabled.  I hoped running mythweather would create the missing tables.  But when I try and view or configure mythweather the frontend logs tons of SQL errors because of the missing tables.<br>
<br>
Any suggestions for how I can fix this?<br>
</span></blockquote>
<br>
<a href="http://www.gossamer-threads.com/lists/mythtv/users/419174#419174" rel="noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/419174#419174</a><br>
<br>
(and you won't need MythWeather plugin installed nor to re-create the tables).<br></blockquote><div><br></div><div>Last night I figured out that the offending tables where in some sort of half existing state.  But I wasn't sure how to resolve it without some manual DB hacking.</div><div><br></div><div>After running the (simple and obvious in hindsight) SQL you linked to, <a href="http://mythconverg_backup.pl">mythconverg_backup.pl</a> runs to completion without issue.  Thanks.</div><div> </div></div></div></div>