加入收藏 | 设为首页 | 会员中心 | 我要投稿 济南站长网 (https://www.0531zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

修改设置文件导致ib_logfile巨细不匹配及mysql无法启动

发布时间:2016-10-29 16:40:05 所属栏目:MySql教程 来源:站长网
导读:#错误原因:在my.cnf文件里面 修改 了innodb_log_file_size, # 导致 ib_ mysq l/2016/0906/86336.html">logfile 文件的 大小 与之前存在的文件 大小 不匹配; #解决方法:在干净关闭数据库的情况下,删除ib_ mysq l/2016/0906/86336.html">logfile ,,然

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

#导致ib_mysql/2016/0906/86336.html">logfile文件的大小与之前存在的文件大小不匹配;

#解决方法:在干净关闭数据库的情况下,删除ib_mysql/2016/0906/86336.html">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

本栏目更多精彩内容:http://www.bianceng.cn/database/MySQL/

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

(编辑:济南站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读