断电后,我的 Mariadb 10.5.10 服务器无法启动,提示如下:
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] /usr/sbin/mysqld (mysqld 10.5.10-MariaDB) starting as process 1260999 ...
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [ERROR] mysqld: Aria engine: log initialization failed
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [ERROR] Plugin 'Aria' init function returned error.
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] InnoDB: Uses event mutexes
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] InnoDB: Number of pools: 1
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] InnoDB: Using SSE4.2 crc32 instructions
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] InnoDB: Using Linux native AIO
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] InnoDB: Completed initialization of buffer pool
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [ERROR] InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10.2.2, and we did not find a valid checkpoint. Please follow the instructions at https://mariadb.com/kb/en/library/upgrading/
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [Note] InnoDB: Starting shutdown...
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [ERROR] Plugin 'InnoDB' init function returned error.
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [ERROR] Failed to initialize plugins.
Jun 23 17:35:38 heater mysqld[1260999]: 2023-06-23 17:35:38 0 [ERROR] Aborting
我对“10.2.2 之前”的引用感到困惑,因为我已经运行 10.5.10 相当长一段时间了。
我该如何恢复?返回 10.2.2 似乎不太可能起作用?
--innodb-force-recovery=
直到2级没有什么区别,没有尝试过更高的。