我有一个 docker-compose 文件,我使用官方mysql:latest
镜像作为我的数据库服务器。
在 adocker pull mysql
和 a 之后docker-compose up
,图像从5.7 -> 8.0.11更新
此更新损坏了我所有的 mysql 数据。
所有.frm
文件都被删除了。
当我尝试重新启动 mysql-server 时,我收到以下错误,即使有 innodb_force_recovery [1-6]
2018-06-05T19:19:14.624533Z 0 [ERROR] [FATAL] InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4000!
2018-06-05 19:19:14 0x7fd24a8b6740 InnoDB: Assertion failure in thread 140541170509632 in file ut0ut.cc line 942
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to …
Run Code Online (Sandbox Code Playgroud)