首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >[1013]mysql the table is full

[1013]mysql the table is full

作者头像
周小董
发布于 2021-06-29 10:41:07
发布于 2021-06-29 10:41:07
1.7K0
举报
文章被收录于专栏:python前行者python前行者

mysql出现"the table is full"的问题,一般有两个原因:

MEMORY (HEAP) storage engine

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

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

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

代码语言:javascript
复制
tmp_table_size = 256M
max_heap_table_size = 256M

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

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

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

在my.ini 搜索 datadir

看其指向的目录 就是数据存放目录

使用df -h 查看

参考:https://www.cnblogs.com/gered/p/12557390.html

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2021/06/26 ,如有侵权请联系 cloudcommunity@tencent.com 删除
目录
  • MEMORY (HEAP) storage engine
  • 硬盘空间满了,清理硬盘即可
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档