Hello,

If you are getting Can’t create new tempfile: ‘tablesname.TMD file error while repairing corrupted database tables please try use following command to fix it

Solution.
# myisamchk -r -f  tables.MYI