I was upgrading Ubunto from 18 to 20, and lost SSH during mysql upgrade.
Mysql won't start now. It has the error:
ib_logfile0 size 44895232 is not a multiple of innodb_page_size after Ubuntu upgrade
InnoDB: Error: log file ./ib_logfile0 is of different size I tried the suggestion here to no avail.
2022-07-25T17:25:13.890483Z 1 [ERROR] [MY-012962] [InnoDB] Log file ./ib_logfile0 size 44895232 is not a multiple of innodb_page_size
2022-07-25T17:25:13.890544Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2022-07-25T17:25:14.375381Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2022-07-25T17:25:14.375568Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-07-25T17:25:14.375652Z 0 [ERROR] [MY-010119] [Server] Aborting
Almost all posts I found have the same suggestion, so I am lost.
deleted the 2 log files
set my innodb settings as found in another post (see below)
innodb_fast_shutdown =0 innodb_buffer_pool_size = 2560M innodb_log_file_size = 256M innodb_log_buffer_size = 8M innodb_flush_log_at_trx_commit = 2 innodb_thread_concurrency = 16 innodb_flush_method = O_DIRECT