Skip to content

latest mysql image is not running #727

@AnnXavier

Description

@AnnXavier

USed the following command to run the container:
$ docker container run -d --name mydb -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql:latest

following are the logs:
2020-11-13 10:18:16+00:00 [Note] [Entrypoint]: Initializing database files
2020-11-13T10:18:16.740245Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.22) initializing of server in progress as process 43
2020-11-13T10:18:16.750534Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2020-11-13T10:18:16.764129Z 1 [Warning] [MY-012582] [InnoDB] io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
2020-11-13T10:18:16.764228Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 1.
2020-11-13T10:18:17.264697Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 2.
2020-11-13T10:18:17.765252Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 3.
2020-11-13T10:18:18.267511Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 4.
2020-11-13T10:18:18.767825Z 1 [Warning] [MY-012583] [InnoDB] io_setup() attempt 5.
2020-11-13T10:18:19.268203Z 1 [ERROR] [MY-012584] [InnoDB] io_setup() failed with EAGAIN after 5 attempts.
2020-11-13T10:18:19.268818Z 1 [ERROR] [MY-012954] [InnoDB] Cannot initialize AIOsub-system
2020-11-13T10:18:19.268974Z 1 [ERROR] [MY-012929] [InnoDB] InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 filebefore trying to start up again.
2020-11-13T10:18:19.269326Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions