From 471c26728c648f1e60e0d75ae69aa55dae2dc2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjartan=20=C3=93lason?= Date: Sun, 12 May 2024 13:00:58 -0300 Subject: [PATCH] Fix: mysql8 - Unknown variable "default-authentication-plugin" Error message: [Server] unknown variable 'default-authentication-plugin=mysql_native_password'. --- bin/mysql8/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mysql8/Dockerfile b/bin/mysql8/Dockerfile index 98caed2473..7f6484e06e 100644 --- a/bin/mysql8/Dockerfile +++ b/bin/mysql8/Dockerfile @@ -1,3 +1,3 @@ FROM mysql:8 RUN echo "[mysqld]" >> /etc/mysql/my.cnf -RUN echo "default-authentication-plugin=mysql_native_password" >> /etc/mysql/my.cnf +RUN echo "mysql_native_password=ON" >> /etc/mysql/my.cnf