[fix](error-code) prompt error when MySQL client login password is incorrect #11973
This commit is contained in:
@ -56,7 +56,7 @@ public class MysqlProto {
|
||||
List<UserIdentity> currentUserIdentity = Lists.newArrayList();
|
||||
if (!Env.getCurrentEnv().getAuth().checkPassword(qualifiedUser, remoteIp,
|
||||
scramble, randomString, currentUserIdentity)) {
|
||||
ErrorReport.report(ErrorCode.ERR_ACCESS_DENIED_ERROR, qualifiedUser, context.getRemoteIP(), usePasswd);
|
||||
ErrorReport.report(ErrorCode.ERR_ACCESS_DENIED_ERROR, qualifiedUser, usePasswd);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user