From 0ba593221a30b49e87e62fb099f50f4efb278727 Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Sat, 18 May 2024 12:27:10 +0200 Subject: [PATCH] Fix MySQL8.4 command Since MySQL8.4 the default_authentication_plugin doesn't work any more and needs to be replaced with mysql_native_password as described in https://stackoverflow.com/questions/78445419/unknown-variable-default-authentication-plugin-mysql-native-password --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 198c467..a8b860f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,7 +48,7 @@ services: ports: - 3306:3306 # change ip if required command: [ - '--default_authentication_plugin=mysql_native_password', + '--mysql_native_password=ON', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci' ]