未找到 Homebrew MariaDB 10.4.13 - 强制更新到 10.5.5,现在我无法启动我的数据库
Homebrew MariaDB 10.4.13 not found - forced updated to 10.5.5 and now I cannot start my database
我无法使用 brew 找到 MariaDB 版本 10.4.13。通过卸载和安装(严重错误)重新安装后 Homebrew 将我的版本升级到 10.5.5
现在我收到以下错误:
020-08-14 20:33:07 0 [Note] InnoDB: Uses event mutexes
2020-08-14 20:33:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-08-14 20:33:07 0 [Note] InnoDB: Number of pools: 1
2020-08-14 20:33:07 0 [Note] InnoDB: Using SSE4.2 crc32 instructions
2020-08-14 20:33:07 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728
2020-08-14 20:33:07 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-14 20:33:07 0 [ERROR] InnoDB: Upgrade after a crash is not supported. The redo log was created with MariaDB 10.4.13.
2020-08-14 20:33:07 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-08-14 20:33:07 0 [Note] InnoDB: Starting shutdown...
2020-08-14 20:33:07 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-08-14 20:33:07 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-08-14 20:33:07 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-08-14 20:33:07 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2020-08-14 20:33:07 0 [ERROR] Aborting
如有任何帮助,我们将不胜感激。我在 /var/log/mysql.
之外的某个地方仍然有我的数据目录
我找到的唯一方法是通过重命名备份我的 /var/lib/mysql
和 /var/lib/mariadb
目录,然后将它们创建为空目录。我知道这不是很多人的选择,如果您仍在开发中并处理种子数据,这应该适合您。
虽然我还没有尝试过,但有人谈论只从这些目录中删除日志文件,从而保留数据。
据报道已删除修复此问题的日志文件:
/var/lib/mysqld/ib_logfile0
/var/lib/mysql/ib_logfile1
/var/lib/mysql/aria_log_control
我无法使用 brew 找到 MariaDB 版本 10.4.13。通过卸载和安装(严重错误)重新安装后 Homebrew 将我的版本升级到 10.5.5
现在我收到以下错误:
020-08-14 20:33:07 0 [Note] InnoDB: Uses event mutexes
2020-08-14 20:33:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-08-14 20:33:07 0 [Note] InnoDB: Number of pools: 1
2020-08-14 20:33:07 0 [Note] InnoDB: Using SSE4.2 crc32 instructions
2020-08-14 20:33:07 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728
2020-08-14 20:33:07 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-14 20:33:07 0 [ERROR] InnoDB: Upgrade after a crash is not supported. The redo log was created with MariaDB 10.4.13.
2020-08-14 20:33:07 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-08-14 20:33:07 0 [Note] InnoDB: Starting shutdown...
2020-08-14 20:33:07 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-08-14 20:33:07 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-08-14 20:33:07 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-08-14 20:33:07 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2020-08-14 20:33:07 0 [ERROR] Aborting
如有任何帮助,我们将不胜感激。我在 /var/log/mysql.
之外的某个地方仍然有我的数据目录我找到的唯一方法是通过重命名备份我的 /var/lib/mysql
和 /var/lib/mariadb
目录,然后将它们创建为空目录。我知道这不是很多人的选择,如果您仍在开发中并处理种子数据,这应该适合您。
虽然我还没有尝试过,但有人谈论只从这些目录中删除日志文件,从而保留数据。
据报道已删除修复此问题的日志文件:
/var/lib/mysqld/ib_logfile0
/var/lib/mysql/ib_logfile1
/var/lib/mysql/aria_log_control