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 - 表的密钥文件不正确
基础教程推荐
- mysql选择动态行值作为列名,另一列作为值 2021-01-01
- 二进制文件到 SQL 数据库 Apache Camel 2021-01-01
- 如何根据该 XML 中的值更新 SQL 中的 XML 2021-01-01
- MySQL 中的类型:BigInt(20) 与 Int(20) 2021-01-01
- 在多列上分布任意行 2021-01-01
- oracle区分大小写的原因? 2021-01-01
- 什么是 orradiag_<user>文件夹? 2022-01-01
- 如何在 SQL 中将 Float 转换为 Varchar 2021-01-01
- 在 MySQL 中:如何将表名作为存储过程和/或函数参数传递? 2021-01-01
- 表 './mysql/proc' 被标记为崩溃,应该修复 2022-01-01
