MySQL:#126-表的密钥文件不正确 [英] MySQL: #126 - Incorrect key file for table
问题描述
我从MySQL查询中收到以下错误.
I got the following error from a MySQL query.
#126 - Incorrect key file for table
我什至没有声明该表的键,但是我有索引.有谁知道可能是什么问题?
I have not even declared a key for this table, but I do have indices. Does anyone know what could be the problem?
推荐答案
每次发生这种情况时,根据我的经验,这已经是一张完整的磁盘.
Every Time this has happened, it's been a full disk in my experience.
编辑
还值得注意的是,这可能是由于在配置了ramdisk的情况下执行诸如更改大表之类的操作时,由ramdisk满引起的.如果您不能增加ramdisk的大小,可以暂时将其注释掉以允许进行此类操作.
It is also worth noting that this can be caused by a full ramdisk when doing things like altering a large table if you have a ramdisk configured. You can temporarily comment out the ramdisk line to allow such operations if you can't increase the size of it.
这篇关于MySQL:#126-表的密钥文件不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!