- Plesk for Linux
- Plesk for Windows
MySQL/MariaDB fails to start after setting up the innodb_log_file parameter in the MySQL configuration file:
The error message on Linux:
MYSQL_LIN: start: Job failed to start
MYSQL_LIN: Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
The error message on Windows Server:
PLESK_INFO: The MySQL service fails to start with the error 1067 "The process terminated unexpectedly"
The following messages appear in the MySQL logfile:
Logfile location on Linux:
Logfile location on Windows Server:
CONFIG_TEXT: InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 536870912 bytes!
InnoDB: Possible causes for this error:
(a) Incorrect log file is used or log file size is changed
(b) In case default size is used this log file is from 10.0
(c) Log file is corrupted or there was not enough disk space
In case (b) you need to set innodb_log_file_size = 48M
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[Note] Plugin 'FEEDBACK' is disabled.
[ERROR] Unknown/unsupported storage engine: InnoDB
Old log files
/var/lib/mysql/ib_logfile1 still exist on the server.