<div dir="ltr"><pre>&gt;&gt;<i> Here is the output of the command that had the syntax error:
</i>&gt;&gt;<i> $ mysql -umythtv -p mythconverg -e &#39;SHOW TABLE STATUS LIKE &quot;logging&quot;\G&#39;
</i>&gt;&gt;<i> Enter password:
</i>&gt;&gt;<i> *************************** 1. row ***************************
</i>&gt;&gt;<i>             Name: logging
</i>&gt;&gt;<i>           Engine: MyISAM
</i>&gt;&gt;<i>          Version: 10
</i>&gt;&gt;<i>       Row_format: Dynamic
</i>&gt;&gt;<i>             Rows: 27087
</i>&gt;&gt;<i>   Avg_row_length: 174
</i>&gt;&gt;<i>      Data_length: 1730321488
</i>&gt;&gt;<i> Max_data_length: 281474976710655
</i>&gt;&gt;<i>     Index_length: 650248192
</i>&gt;&gt;<i>        Data_free: 1725601312
</i>&gt;&gt;<i>   Auto_increment: 20519185
</i>&gt;&gt;<i>      Create_time: 2012-11-19 09:05:36
</i>&gt;&gt;<i>      Update_time: 2013-02-19 17:41:52
</i>&gt;&gt;<i>       Check_time: 2013-02-18 08:02:34
</i>&gt;&gt;<i>        Collation: utf8_general_ci
</i>&gt;&gt;<i>         Checksum: NULL
</i>&gt;&gt;<i>   Create_options:
</i>&gt;&gt;<i>          Comment:
</i>&gt;&gt;<i>
</i>&gt;&gt;<i> Let me know if that changes your recommendation, otherwise I&#39;ll plan
</i>&gt;&gt;<i> to setup a cron job as you suggested.
</i>&gt;&gt;<i>
</i>
&gt;Still the same recommendation.  Though your Check_time is recent, it&#39;s 
&gt;likely that it was just a simple check.  <a href="http://optimize_mythdb.pl">optimize_mythdb.pl</a> does a 
&gt;check, an optimize, and an analyze.  So, in my case, the check was 
&gt;performed at basically the same time as the optimize and analyze.  In 
&gt;your case, there probably was no optimize or analyze.

&gt;So, I&#39;d recommend you run the script once, from the command line 
&gt;&quot;manually&quot;, and then check the file sizes.  And please report back to 
&gt;let us know how it went.  Then, you can set up the cron job for future 
&gt;maintenance.

&gt;Note that the script will need to be run in an environment that includes 
&gt;a HOME that points to a directory with a valid 
&gt;${HOME}/.mythtv/config.xml.  It&#39;s likely you&#39;ll need to specify the HOME 
&gt;environment variable in your crontab (for at least this one command).
&gt;
&gt;Mike<br><br><br></pre><pre>I ran <a href="http://optimize_mythdb.pl">optimize_mythdb.pl</a> manually, and it made a big difference.  The log files I had listed are now only a couple MB each!<br></pre><pre>Here is the current output:<br>
</pre><pre><br>$ mysql -umythtv -p mythconverg -e &#39;SHOW TABLE STATUS LIKE &quot;logging&quot;\G&#39;<br>Enter password: <br>*************************** 1. row ***************************<br>           Name: logging<br>
         Engine: MyISAM<br>        Version: 10<br>     Row_format: Dynamic<br>           Rows: 27557<br> Avg_row_length: 144<br>    Data_length: 3983688<br>Max_data_length: 281474976710655<br>   Index_length: 1203200<br>      Data_free: 0<br>
 Auto_increment: 20519655<br>    Create_time: 2012-11-19 09:05:36<br>    Update_time: 2013-02-19 19:50:07<br>     Check_time: 2013-02-19 19:50:07<br>      Collation: utf8_general_ci<br>       Checksum: NULL<br> Create_options: <br>
        Comment:<br><br></pre><pre>Thanks again<br>Dan<br></pre>


    <hr></div>