Skip to content

Doc problem: Why is --default-authentication-plugin=mysql_native_password needed? #711

@rugk

Description

@rugk

The documentation at https://hub.docker.com/_/mysql / the Readme only explains docker stack deploy or docker-compose for MySQL.

MySQL switched to a SHA-2 based auth by default and that
And MariaDB e.g. includes a large warning that this is legacy and insecure: https://mariadb.com/kb/en/authentication-plugin-mysql_native_password/

So why do you use it there?
This is not documented anywhere, it is just listed "as-is" in the doc.
And using an insecure password hashing method is possibly not a good idea security-wise.

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