Incorrect key file with MySQL

前端 未结 3 920
太阳男子
太阳男子 2021-01-18 08:35

I\'m having a problem with a InnoDB (table was initally MyISAM, but converted it to InndoB awhile ago) table; I am trying to run this query:

SELECT 
   posts         


        
3条回答
  •  感动是毒
    2021-01-18 08:53

    Notice that the .MYI file its having a problem with is for a temp table. When you're running queries involving joins, MySql needs to use temp space to merge the data internally. You are most likely running out of space in your tmp directory.

    Try increasing the amount of space allocated to tmpdir or edit the my.cnf file to have tmpdir point to a place with enough space (don't forget to give it permissions).

提交回复
热议问题