修改设置文件导致ib_logfile巨细不匹配及mysql无法启动
#错误原因:在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 (编辑:云计算网_泰州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |