MySQL:#126 - 表的密钥文件不正确 [英] MySQL: #126 - Incorrect key file for table

查看:46
本文介绍了MySQL:#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.

这篇关于MySQL:#126 - 表的密钥文件不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆