Solve centos server exception power-off mysql startup exception Mysql startup error: mysqld

Source: Internet
Author: User
Tags unsupported centos server

Solve centos server exception power-off mysql startup exception Mysql startup error: mysqld

Symptom:
Centos server exception power-off MySQL startup exception Mysql startup error: mysqld_safe mysqld from pid file/usr/local/mysql/Linux. pid end
But open the log file to view

InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file./ib_logfile0 is of different size 50331648 bytes
InnoDB: than specified in the. cnf file 5242880 bytes!
160603
[ERROR] Plugin 'innodb' init function returned error.
160603
14:06:15 [ERROR] Plugin 'innodb' registry as a storage engine failed.
160603
At 14:06:15 [ERROR] Unknown/unsupported storage engine: InnoDB
160603 14:06:15 [ERROR] Aborting

Solution:

1. Storage engine error
Unknown/unsupported storage engine: InnoDB
2. Check the innodb parameter in the configuration file. If skip-innodb has been commented out
3. If innodb_log_file_size is reset,
4. delete several rm-rf ib_logfiles and restart the database.

Related Article

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.