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.
This commit is contained in:
@ -612,6 +612,10 @@ mysql_auth_set_client_data(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
client_data->correct_authenticator = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user