Solved InnoDB: Upgrade after a crash is not supported

m_pahlevanzadeh

Member

Reaction score: 5
Messages: 39

I upgraded my mariadb to 105 and get the following error message after running upgraded my mariadb to 105 and get the following error message after running
Bash:
/usr/local/libexec/mysqld
my error:
Bash:
/root{106}# tail -f /var/log/mysql/mysqld.err
2022-01-01  3:12:40 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2022-01-01  3:12:40 0 [Note] InnoDB: Completed initialization of buffer pool
2022-01-01  3:12:40 0 [ERROR] InnoDB: Upgrade after a crash is not supported. The redo log was created with MariaDB 10.4.12.
2022-01-01  3:12:40 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2022-01-01  3:12:40 0 [Note] InnoDB: Starting shutdown...
2022-01-01  3:12:41 0 [ERROR] Plugin 'InnoDB' init function returned error.
2022-01-01  3:12:41 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2022-01-01  3:12:41 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-01-01  3:12:41 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2022-01-01  3:12:41 0 [ERROR] Aborting
I downgraded to 103 and error is still ok.
How to run mysql?
 

covacat

Daemon

Reaction score: 788
Messages: 1,445

so just move the log files and they will be recreated
you will lose the last transactions
or install the exact previous versions, shutdown the db cleanly and upgrade then
 
Top