Skip to content

Commit d34a028

Browse files
authored
Fix: Passwort authentication plugin (#189)
The `mysql_native_password` plugin was deprecated in 8.0.34, is disabled as of 8.4, and will be removed completely beginning from mySQL 9.0. Due to the disabling, the plugin cannot be loaded using `default-authentication-plugin` and must instead be re-enabled using the `--mysql-native-password=ON`. > MySQL native password authentication changes. Beginning with MySQL 8.4.0, the deprecated mysql_native_password authentication plugin is no longer enabled by default. To enable it, start the server with --mysql-native-password=ON (added in MySQL 8.4.0), or by including mysql_native_password=ON in the [mysqld] section of your MySQL configuration file (added in MySQL 8.4.0). [Source](https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html)
1 parent 5ed7d96 commit d34a028

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/getRootComposeFile/defaultComposeContent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = (args) => ({
3636
target: '/var/lib/mysql',
3737
}],
3838
command: [
39-
'--default-authentication-plugin=mysql_native_password',
39+
'--mysql-native-password=ON',
4040
],
4141
},
4242
// composer: {

0 commit comments

Comments
 (0)