Skip to content

Commit

Permalink
fix: Use authentication_policy to specify default auth plugin
Browse files Browse the repository at this point in the history
`default_authentication_plugin` was removed starting in MySQL 8.4.0:

> The default_authentication_plugin system variable, deprecated in MySQL 8.0.27, is removed as of
> MySQL 8.4.0. Use authentication_policy instead.
>
> -- https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html

Signed-off-by: Siddharth Kannan <mail@siddharthkannan.in>
  • Loading branch information
icyflame authored and dbussink committed Jul 19, 2024
1 parent 8e9d294 commit ca346e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/mycnf/mysql84.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mysqlx = 0
# 8.4 changes the default auth-plugin to caching_sha2_password and
# disables mysql_native_password by default.
mysql_native_password = ON
default_authentication_plugin = mysql_native_password
authentication_policy = 'mysql_native_password'

# Semi-sync replication is required for automated unplanned failover
# (when the primary goes away). Here we just load the plugin so it's
Expand Down

0 comments on commit ca346e1

Please sign in to comment.