Skip to content

MY-010123 error running version 8.0 #475

Closed
@ldesousa

Description

@ldesousa

I would like to create an image from the Dockerfile for version 8.0. I have checked out the contents of the 8.0 folder and the docker build command concludes successfully. However, when I run the image it exits immediately. In the logs I have the following:

$ docker logs mysql
2018-08-16T14:15:18.725201Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
2018-08-16T14:15:18.725320Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.12) starting as process 1
2018-08-16T14:15:18.728605Z 0 [ERROR] [MY-010123] [Server] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
2018-08-16T14:15:18.728633Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-08-16T14:15:18.729717Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.12)  MySQL Community Server - GPL.

I understand that mySQL is not supposed to be run in a root session, is that the issue? What can I do to avoid this error?

Thank you.

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