Corrupted MySQL Database

admin

Administrator
Staff member
Hi

It has happened twice now, my table in MySQL has become corrupt. Both times it was repaired by the simple "REPAIR TABLE ldbcx" query, however, i can't put this php script into heavy use until i figure out why the table keeps getting corrupt. Any specific reasons this could happen? Should I just schedule a cron job like once an hour to run a <?php mysql_connect(); mysql_query("REPAIR TABLE ldbcx"); ?> script?

AAggh.

Thanks.
 
Back
Top