Skip to content

[Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. #927

@snowuyl

Description

@snowuyl

I am using mysql-laravel:1.0 docker image. But when I run the following command. Warning message occurred.
docker-compose build
docker-compose up
[Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.

How can I set root with non-empty password to remove warning message?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions