diff --git a/Dockerfiles/mysql-8.0 b/Dockerfiles/mysql-8.0 index 886c69b..082f483 100644 --- a/Dockerfiles/mysql-8.0 +++ b/Dockerfiles/mysql-8.0 @@ -12,4 +12,4 @@ RUN set -eux \ false; \ fi \ # Allow native password handling for MySQL 8.0 - && sed -i'' "s/^symbolic-links.*$/symbolic-links=0\ndefault-authentication-plugin=mysql_native_password/g" /etc/mysql/my.cnf + && sed -i'' 's/^\[mysqld\]/[mysqld]\ndefault-authentication-plugin=mysql_native_password/g' /etc/mysql/my.cnf