Skip to content

Commit

Permalink
Fix: mysql8 - Unknown variable "default-authentication-plugin"
Browse files Browse the repository at this point in the history
Error message:
[Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
  • Loading branch information
kjarrio authored May 12, 2024
1 parent 0d6e0cc commit 471c267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mysql8/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 471c267

Please sign in to comment.