ITPub博客

首页 > 数据库 > MySQL > MySQL执行语句报Incorrect key file for table '/tmp/#sql_.MYI'; try to repair it

MySQL执行语句报Incorrect key file for table '/tmp/#sql_.MYI'; try to repair it

原创 MySQL 作者:feelpurple 时间:2019-02-28 11:57:04 1 删除 编辑

MySQL执行语句报Incorrect key file for table '/tmp/#sql_4c80_0.MYI'; try to repair it


报错原因:

数据库的临时目录tmpdir满了,导致临时表创建不成功。

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      105G   105G   0G  100% /


解决方法:

清理临时目录,释放空间。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26506993/viewspace-2637172/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2014-08-01

  • 博文量
    404
  • 访问量
    1673933