From 539cd318f1bb22610c144b6590570636b92dd6b6 Mon Sep 17 00:00:00 2001 From: LUA Date: Thu, 29 Oct 2020 11:12:58 +0800 Subject: [PATCH] fix: inner 642 (#2212) auth switch request should use client configuration --- .../dble/services/mysqlauthenticate/MySQLFrontAuthService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/actiontech/dble/services/mysqlauthenticate/MySQLFrontAuthService.java b/src/main/java/com/actiontech/dble/services/mysqlauthenticate/MySQLFrontAuthService.java index 919069285..9bf95cd4f 100644 --- a/src/main/java/com/actiontech/dble/services/mysqlauthenticate/MySQLFrontAuthService.java +++ b/src/main/java/com/actiontech/dble/services/mysqlauthenticate/MySQLFrontAuthService.java @@ -144,6 +144,7 @@ public class MySQLFrontAuthService extends AuthService { PluginName name = PluginName.valueOf(auth.getAuthPlugin()); if (pluginName != name) { needAuthSwitched = true; + this.pluginName = name; sendSwitchPacket(pluginName); return; }