From e706305e80641567fac541cc684cd6083272ddda Mon Sep 17 00:00:00 2001 From: Siddharth Kannan Date: Sat, 20 Jul 2024 01:29:20 +0900 Subject: [PATCH] fix: Use authentication_policy to specify default auth plugin for MySQL 8.4 (#16426) Signed-off-by: Siddharth Kannan Signed-off-by: Florent Poinsard --- config/mycnf/mysql84.cnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/mycnf/mysql84.cnf b/config/mycnf/mysql84.cnf index 90d7a535602..93e4bd571e1 100644 --- a/config/mycnf/mysql84.cnf +++ b/config/mycnf/mysql84.cnf @@ -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