mysql iblogfile0太小_修改配置文件导致ib_logfile大小不匹配,mysql无法启动 | 学步园...

#错误原因:在my.cnf文件里面修改了innodb_log_file_size,

#导致ib_logfile文件的大小与之前存在的文件大小不匹配;

#解决方法:在干净关闭数据库的情况下,删除ib_logfile,然后重启数据库

120221 06:47:03 mysqld_safe mysqld from pid file /home/mysql/jsunsa.pid ended

120221 06:47:07 mysqld_safe Starting mysqld daemon with databases from /home/mysql

120221  6:47:07 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a future release. Please use '--slow-query-log'/'--slow-query-log-file' instead.

120221  6:47:07 [Note] Plugin 'FEDERATED' is disabled.

120221  6:47:08 InnoDB: The InnoDB memory heap is disabled

120221  6:47:08 InnoDB: Mutexes and rw_locks use InnoDB's own implementation

120221  6:47:08 InnoDB: Compressed tables use zlib 1.2.3

120221  6:47:08 InnoDB: Using Linux native AIO

120221  6:47:08 InnoDB: Initializing buffer pool, size = 16.0M

120221  6:47:08 InnoDB: Completed initialization of buffer pool

InnoDB: Error: log file /home/mysql/ib_logfile0 is of different size 0 5242880 bytes

InnoDB: than specified in the .cnf file 0 134217728 bytes!

120221  6:47:08 [ERROR] Plugin 'InnoDB' init function returned error.

120221  6:47:08 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

120221  6:47:08 [ERROR] Unknown/unsupported storage engine: INNODB

120221  6:47:08 [ERROR] Aborting

120221  6:47:08 [Note] /usr/sbin/mysqld: Shutdown complete

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值