Skip to content

Commit

Permalink
Fix MySQL8.4 command
Browse files Browse the repository at this point in the history
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
  • Loading branch information
heiglandreas committed May 18, 2024
1 parent 1b36b91 commit 0ba5932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
Expand Down

0 comments on commit 0ba5932

Please sign in to comment.