时间:2021-05-02
有时,磁盘空间不够用了,可能要删除几个mysql-bin,其后果可能是造成mysql无法启动。
如可能出现下面的提示:
1.140211 16:12:03 [Note] Recovering after a crash using mysql-bin2.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 binary6.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 diagnose9.the problem, but since we have already crashed, something is definitely wrong10.and this may fail.11. 12.key_buffer_size=013.read_buffer_size=209715214.max_used_connections=015.max_connections=150016.threads_connected=017.It is possible that mysqld could use up to 18.key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 7680000 K19.bytes of memory20.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.index2."mysql-bin.index" 27 lines, 513 characters 3../mysql-bin.0000964../mysql-bin.0000975../mysql-bin.0000986../mysql-bin.0000997../mysql-bin.0001008../mysql-bin.0001019../mysql-bin.00010210../mysql-bin.00010311../mysql-bin.00010412../mysql-bin.00010513../mysql-bin.00010614../mysql-bin.000107
本文为转载改编,原文地址:http://blog.chinaunix.net/uid-11121450-id-3270848.html
声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。
下面VPS侦探说一下几个解决方法:MySQL数据库导出方法1:mysqldump命令执行命令:/usr/local/mysql/bin/mysqldump-u用
本文主要介绍了IDEA无法连接mysql数据库的6种解决方法大全,分享给大家,具体如下:1.本地的mysql没有创建该数据库(笔者就是这个原因!)查看数据库发现
mysql5.x升级至mysql5.7后导入之前数据库date出错的解决方法如下所示: 修改mysql5.7的配置文件即可解决,方法如下: linux版:找
利用数据库系统漏洞。目前大部分网站都依托Mysql作为数据库支撑,因此针对MySQL数据库的渗透攻击非常多,经常有Mysql数据库被攻击,导致数据库被删除或者篡
MySQL数据库输入密码后闪退的问题及解决方案分享1案例说明 最近一直在用MySQL数据库演示基础功能,但是这两天忽然出现了一个问题,那就是:在启动MySQL