MySQL Database corrupted and can not be repaired


I tried to use SQL Command to reparid the table. Unfortunately all attempts failed because following error:

MYD file not found (Errcode:2)


In order to fix it, look for the file /mysql/schema/tablename.TMD. Simply rename this file to tablename.MYD. If for some reason there is already an MYD file rename the TMD file to BKP. Once that's done, run a:

 REPAIR TABLE schema.tablename;
 If that doesn't work you may have to simply drop the table and restore from a backup.

From

Comments

Popular posts from this blog

Javascript Hosted on Google Drive Not Working Reliably

Newsmag Theme and External Featured Image

Responsive Web Design