解决mysql出现"the table is full"的问题

原创 wintop  2019-02-14 01:19:11  阅读 3416 次 评论 0 条
摘要:

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”.命令行查询语句:show varia

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”.

命令行查询语句:show variables like '%max_heap_table_size%';


ERROR 1114 (HY000) at line 1720: The table 'XXXX' is full


于是就修改Mysql的配置文件my.ini,在[mysqld]下添加/修改两行:

tmp_table_size = 256M

max_heap_table_size = 256M


系统默认是16M,修改完后重启mysql


 


二.硬盘空间满了,清理硬盘即可.


不要被mysql的安装目录所欺骗, 最好亲自去看看数据存放目录是哪


在my.ini  搜索 datadir


看其指向的目录 就是数据存放目录。(我就上当了)


本文地址:https://zuoweng.com/post/17.html
版权声明:本文为原创文章,版权归 wintop 所有,欢迎分享本文,转载请保留出处!

发表评论


表情

还没有留言,还不快点抢沙发?