mysql出现"the table is full"的问题,一般有两个原因:
一 .You are using the MEMORY (HEAP) storage engine; in this case you need to increase the value of the max_heap_table_size system variable. See Section 5.1.3, “Server System Variables”.
于是就修改Mysql的配置文件/etc/my.cnf,在[mysqld]下添加/修改两行:
tmp_table_size = 256M
max_heap_table_size = 256M
系统默认是16M,修改完后重启mysql
二.硬盘空间满了,清理硬盘即可.

本文介绍了MySQL中出现'thetableisfull'错误的原因及解决办法。主要包括调整MEMORY存储引擎的max_heap_table_size参数和检查硬盘空间。
1万+

被折叠的 条评论
为什么被折叠?



