MySQL Database corrupted and can not be repaired
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
Post a Comment