<br><br>
<div><span class="gmail_quote">On 11/12/07, <b class="gmail_sendername">Michael T. Dean</b> &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 11/12/2007 09:14 AM, R. G. Newbury wrote:<br>&gt; William Munson wrote:<br>&gt;<br>&gt;&gt; R. G. Newbury wrote:
<br>&gt;&gt;<br>&gt;&gt;&gt; I think I have borked by mythconverg database and do not have an old<br>&gt;&gt;&gt; enough backup to reconstruct the prior state.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; SVN 14830 segfaulted at every attempt to play LiveTV or from the
<br>&gt;&gt;&gt; library. I stepped back to 14794. But I think the error may have<br>&gt;&gt;&gt; predated that as I have listings for only 8 days. This is most likely<br>&gt;&gt;&gt; the result of a schema advance and revert...Operator error!
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; DBSchemaVer is 1201. Mythfilldatabase reports that is cannot do inserts<br>&gt;&gt;&gt; to various &quot;dd_v_xxx&quot; tables. Those tables do not exist.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; So, how do I &quot;re-update&quot; and make it stick? As noted, 14830 segfaults badly.
<br>&gt;&gt; I have not tried this myself but you should be able to change<br>&gt;&gt; DBSchemaVer in the settings table to a lower number and rerun<br>&gt;&gt; mythtv-setup to re-upgrade your database. With a reasonably current SVN
<br>&gt;&gt; I have a version of 1201.<br>&gt;&gt;<br>&gt;<br>&gt; I tried something like this...I changed DBSchemaVer to 1200 in<br>&gt; mysql...<br><br>Generally not a good idea to mess with DBSchemaVer...&nbsp;&nbsp;Always better to do
<br><br>&gt; but I cannot now be sure that I didn&#39;t just restart mythbackend<br>&gt; and frontend....I cannot remember.<br>&gt; But whatever I did, changed DBSchemaVer to 1201 again, but DID NOT<br>&gt; create the missing tables....
<br>&gt;<br>&gt; I will try it again, running mythtv-setup first.<br>&gt;<br>&gt; Anyone else have any good ideas? (I don&#39;t mind hearing *bad* ideas, but<br>&gt; I make no promises about using them!)<br><br>the MythTV &quot;Spring Cleaning&quot; (TM):
<br><a href="http://mythtv.org/docs/mythtv-HOWTO-23.html#ss23.7">http://mythtv.org/docs/mythtv-HOWTO-23.html#ss23.7</a><br><br>Mike<br><br>___</blockquote>
<div>&nbsp;</div>
<div>Can&#39;t dispute that.&nbsp; Those tables aren&#39;t created via the db schema upgrade processes, but rather these are &quot;temporary tables&quot; created/used by the data direct class of processors (now schedules direct).&nbsp; As long as you are using a version of mysql 
3.23 or later, it supports temporary tables correctly.&nbsp; Prior to 3.23 I think it ignored the &quot;temporary&quot; table&nbsp;construct, although the code is supposed to handle that situation as well, I think.</div>
<div>&nbsp;</div>
<div>I would shut down the mythbackend and any filldatabase processes, login to mysql and check to see if there are any dd_v* tables there.&nbsp; If they exist, you can delete them.&nbsp; This should only be the case, though, if you are using mysql prior to 
3.23.&nbsp; If they exist and you are using later than that, something has gone terribly awry.</div>
<div>&nbsp;</div>
<div>It they don&#39;t exist, then there is some other error in the filldatabase process.&nbsp; What is the exact error message that mythfilldatabase is giving?&nbsp; Can you run it with more logging?</div>
<div>&nbsp;</div></div>