MySQL: #126 - Incorrect key file for table(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 - 表的密钥文件不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:MySQL:#126 - 表的密钥文件不正确


基础教程推荐
- 带更新的 sqlite CTE 2022-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01