Modifying configuration file causes Ib_logfile size mismatch and MySQL does not start

Source: Internet
Author: User

#错误原因: The innodb_log_file_size was modified in the My.cnf file,

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

#解决方法: Delete ib_logfile and restart the database when the database is cleanly shut down

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 would removed in a future release. 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

This column more highlights: 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.

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.