From 114e095e1bc4fd3b8c6c630713f255895787aa47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 29 May 2019 12:41:53 +0300 Subject: [PATCH] MXS-2525: Fix non-plugin authentication Older clients assume the plugin used for authentication is mysql_native_password. If the client doesn't request plugin authentication, don't treat it as an error. --- server/modules/authenticator/MySQLAuth/mysql_auth.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/modules/authenticator/MySQLAuth/mysql_auth.c b/server/modules/authenticator/MySQLAuth/mysql_auth.c index 654e541e2..9a805725b 100644 --- a/server/modules/authenticator/MySQLAuth/mysql_auth.c +++ b/server/modules/authenticator/MySQLAuth/mysql_auth.c @@ -612,6 +612,10 @@ mysql_auth_set_client_data( } } } + else + { + client_data->correct_authenticator = true; + } } } }