MySQL:#126 - 表的密钥文件不正确

2021-11-20 00:00:00 mysql mysql-error-126

我从 MySQL 查询中得到以下错误.

I got the following error from a MySQL query.

#126 - 表的密钥文件不正确

我什至没有为这个表声明一个键,但我有索引.有谁知道可能是什么问题?

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.

相关文章