Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB container not starting with current docker-compose.example.yml file #1055

Open
jelkose opened this issue May 7, 2024 · 1 comment
Open

Comments

@jelkose
Copy link

jelkose commented May 7, 2024

After updating my local environment, the db-container did not start anymore.
The following error is displayed:
[Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
The update pulled the newest version of mysql:8 (which stands in docker-compose.example.yml) from docker, which currently is 8.4. In this version the native password plugin was removed (see https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html).

A workaround is to replace the --default-authentication-plugin=mysql_native_password flag in

command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci
by --mysql-native-password=ON which enables the native password plugin again (see https://dev.mysql.com/doc/refman/8.4/en/native-pluggable-authentication.html).
But as this plugin is deprecated and will be removed completely in future releases, I think using a more up-to-date authentication plugin would be better.

Cheers,
Jelko

@tuxnet
Copy link

tuxnet commented May 7, 2024

I have already created a pull request #1054 which solves the problem until another plugin is implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants