2022-05-06 14:52:55+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.13+maria~focal started.
2022-05-06 14:52:58+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2022-05-06 14:52:58+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.13+maria~focal started.
2022-05-06 14:53:00+00:00 [Note] [Entrypoint]: Initializing database files
2022-05-06 14:53:01 0 [ERROR] InnoDB: The Auto-extending innodb_system data file ‘./ibdata1’ is of a different size 542 pages than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
2022-05-06 14:53:01 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2022-05-06 14:53:01 0 [ERROR] Plugin ‘InnoDB’ init function returned error.
2022-05-06 14:53:01 0 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
2022-05-06 14:53:01 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2022-05-06 14:53:01 0 [ERROR] Aborting
Installation of system tables failed! Examine the logs in
/var/lib/mysql/ for more information.
已经尝试修改/etc/my.cnf配置文件,添加如下配置:
innodb_data_file_path = ibdata1:12M:autoextend
未解决问题,请教各位如何处理这种问题