MySQL Compile installation complete error when starting

Source: Internet
Author: User

[[email protected] mysql]#/etc/init.d/mysqld start

Starting MySQL. error! The server quit without updating PID file (/tmp/mysql.pid).


[Email protected] mysql]# tail-f Data/host2.err

InnoDB:Error:log file./ib_logfile0 is of different size 0 4194304 bytes

Innodb:than specified in the. cnf file 0 5242880 bytes!

170310 17:06:48 [ERROR] Plugin ' InnoDB ' init function returned ERROR.

170310 17:06:48 [ERROR] Plugin ' InnoDB ' registration as a STORAGE ENGINE failed.

170310 17:06:48 [ERROR] unknown/unsupported storage Engine:innodb

170310 17:06:48 [ERROR] Aborting


170310 17:06:48 [Note]/application/mysql/bin/mysqld:shutdown complete


170310 17:06:48 mysqld_safe mysqld from PID File/application/mysql/data/host2.pid ended


Say the function error

Workaround:

Delete the Ib_logfil file below the data

[Email protected] mysql]# rm-f DATA/IB_LOGFILE0

[Email protected] mysql]# rm-f data/ib_logfile1

[Email protected] mysql]# rm-f DATA/IB_LOGFIL2


This article is from the "11002498" blog, please be sure to keep this source http://11012498.blog.51cto.com/11002498/1905228

MySQL Compile installation complete error when starting

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.