MySQL table is marked as crashed

Viewed 4946

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.

I just wanted to know under what circumstances would a DB table crash and how I can prevent it from happening again?

I am connecting to MySQL(5.0) database from Tcl (8.5) script using mysqltcl library (3.0).

1 Answers
Related