小编moh*_*imi的帖子

指定的数据目录/var/lib/mysql/不可用。您可以删除服务器添加到其中的所有文件。mysql 镜像错误

更改 docker 的数据目录(即 /etc/docker/daemon.json)后,在尝试运行 mysql 映像时出现以下错误

2022-07-13T10:31:27.580551Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.29) initializing of server in progress as process 43
2022-07-13T10:31:27.584905Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-07-13T10:31:27.588941Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp"; errno: 13
2022-07-13T10:31:27.588965Z 1 [ERROR] [MY-012929] [InnoDB] InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
2022-07-13T10:31:27.589074Z 0 [ERROR] [MY-010020] [Server] Data Dictionary …
Run Code Online (Sandbox Code Playgroud)

mysql docker

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

docker ×1

mysql ×1