Skip to content

Allow to specify an auth plugin #804

Open
@julienschmidt

Description

@julienschmidt

Allow users to specify a auth plugin in the DSN which is then used initially instead of the server's default auth plugin. Doing so can eliminate 1 roundtrip during the handshake.

Example: The servers default auth plugin is caching_sha2_password but the requested user is authenticated via PAM. Thus using mysql_cleartext_password or dialog (#803) must be used on the client-side. Currently the driver attempts authentication using caching_sha2_password first. The server then tells the driver to switch to mysql_cleartext_password or dialog.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions