title: MySQL table is marked as crashed
body: <p>I fairly new to MySQL database. I am repeatedly seeing an error from MySQL saying the table is marked as crashed and should be repaired. However I am able to repair the crashed table by using the command myisamchk. By the way, I am using MYISAM database engine in MySQL. </p>
  
  <p>I just wanted to know under what circumstances would a DB table crash and how I can prevent it from happening again?</p>
  
  <p>I am connecting to MySQL(5.0) database from Tcl (8.5) script using mysqltcl library (3.0).</p>