MySQL quick troubleshoting

Corruption Can't open file: 'table.MYI' (errno: 145)

try

mysql -p dbname dbhost
> repair table <tablename>

or run this in command line

 myisamchk -r <tablename>