备忘:MySQL InnoDB Error "the table is full"

本文介绍了解决MySQL InnoDB出现表已满错误的方法。首先检查my.cnf配置文件中的innodb_data_file_path设置,并增大最大文件大小限制。如需调整innodb_log_file_size,需先干净关闭MySQL服务,删除旧的日志文件,更新配置并重启服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[size=large]
http://blog.imminentweb.com/technologies/mysql-innodb-error-table-full
----------

http://dev.mysql.com/doc/refman/5.0/en/full-table.html explains some common causes for the error "the table is full" and tells how to fix it.

If you are using MySQL InnoDB, and the file limit isn't reaching the maximum file size limit by the operation system, then check your my.cnf config file, and look for a line like

innodb_data_file_path = ibdata1:10M:autoextend:max:128M

Increase the "max:128M" to something bigger, such as "max:526M".

If you want to increase the innodb_log_file_size, do this:

1. shut down mysqld cleanly
2. remove ib_logfile* files in your mysql data directory, which is possibly /var/lib/mysql

我的路径是
vi /etc/mysql/my.cnf
改为
innodb_data_file_path = ibdata1:10M:autoextend

3. restart mysqld again and check all tables are fine.

[/size]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值