admin管理员组

文章数量:1619275

有时,磁盘空间不够用了,可能要删除几个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

本文标签: 解决方法无法启动数据库Binmysql