V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
philsky28
V2EX  ›  Docker

docker compose 中启动 mysql 报错 Unsupported redo log format

  •  
  •   philsky28 · Jul 26, 2020 · 2393 views
    This topic created in 2102 days ago, the information mentioned may be changed or developed.

    之前用过 5.x 的镜像创建过 container 后来换成新的 lasted 镜像之后遇到了这个问题,该如何解决呢?容器一直错误也无法进入

    4 replies    2020-07-27 11:00:41 +08:00
    ooh
        1
    ooh  
       Jul 26, 2020
    你 MySQL 容器用了数据卷(volumes)吧

    运行看看
    sudo docker volume ls
    不在乎以前数据直接删掉
    sudo docker volume rm XXX
    觉得以前的数据还需要的话,先用以前 5.x 的版本导出来,再导进去
    philsky28
        2
    philsky28  
    OP
       Jul 26, 2020
    @ooh 我删除过了还是老样子。。。
    ooh
        3
    ooh  
       Jul 26, 2020
    @philsky28 把 MySQL 那部分贴出来看看呗
    julyclyde
        4
    julyclyde  
       Jul 27, 2020
    先把 latest 写对
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2836 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 15:43 · PVG 23:43 · LAX 08:43 · JFK 11:43
    ♥ Do have faith in what you're doing.