mysql-bin.00003_mysql-bin删除后导致MySql数据库无法启动问题的解决方法

有时,磁盘空间不够用了,可能要删除几个mysql-bin,其后果可能是造成mysql无法启动。

如可能出现下面的提示:

1.140211 16:12:03 [Note] Recovering after a crash using mysql-bin

2.140211 16:12:03 [Note] Starting crash recovery...

3.140211 16:12:03 [Note] Crash recovery finished.

4.140211 16:12:03 - mysqld got signal 11 ;

5.This could be because you hit a bug. It is also possible that this binary

6.or one of the libraries it was linked against is corrupt, improperly built,

7.or misconfigured. This error can also be caused by malfunctioning hardware.

8.We will try our best to scrape up some info that will hopefully help diagnose

9.the problem, but since we have already crashed, something is definitely wrong

10.and this may fail.

11.

12.key_buffer_size=0

13.read_buffer_size=2097152

14.max_used_connections=0

15.max_connections=1500

16.threads_connected=0

17.It is possible that mysqld could use up to

18.key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 7680000 K

19.bytes of memory

20.Hope that's ok; if not, decrease some variables in the equation.

解决办法是把mysql-index文件中多余的内容删除即可

1.MICDBSTG01:root:/u02/mysql-5.0.67-aix5.3-powerpc-64bit/data>vi mysql-bin.index

2."mysql-bin.index" 27 lines, 513 characters

3../mysql-bin.000096

4../mysql-bin.000097

5../mysql-bin.000098

6../mysql-bin.000099

7../mysql-bin.000100

8../mysql-bin.000101

9../mysql-bin.000102

10../mysql-bin.000103

11../mysql-bin.000104

12../mysql-bin.000105

13../mysql-bin.000106

14../mysql-bin.000107

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值