[1013]mysql the table is full

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]下添加/修改两行:

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

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

周小董

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值