Fix a crashed table in SQL command prompt


login in:
-mysql -u [username] -p

- use [databasename];

- show tables;

- check table [yourtablename];

- repair table [yourtablename];