How do you fix a MySQL “Incorrect key file” error when you can't repair the table?

前端 未结 10 1911
眼角桃花
眼角桃花 2020-12-13 08:53

I\'m trying to run a rather large query that is supposed to run nightly to populate a table. I\'m getting an error saying Incorrect key file for table \'/var/tmp/#sql

10条回答
  •  臣服心动
    2020-12-13 09:34

    REPAIR TABLE tbl_name USE_FRM;

    Command only run when MySQL 'Storage Engine' type should be 'MyISAM'

    Hope this helps

提交回复
热议问题