[[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