Mysql error : Can’t create new tempfile: ‘*.TMD file . By adm!n | August 31, 2010 - 6:48 pm |March 7, 2011 Mysql 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 is myisamchk -r -f tables.MYIShare this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on Google+ (Opens in new window)Like this:Like Loading... Tagged Mysql. Bookmark the permalink.