-
-
Notifications
You must be signed in to change notification settings - Fork 638
Open
Labels
feature requestmysqljs/mysql incompatibilitiesPreviously: feligxe-mysql-incompatibilitiesPreviously: feligxe-mysql-incompatibilities
Description
When I try to connect as a user the server expects to authenticate via the PAM Authentication Plugin, the following error is thrown
Error: Client does not support authentication protocol requested by server;
consider upgrading MariaDB client
After reading your node-mysql2 docs, and some investigations, I finally realized there's no support for mysql_clear_password capabilities yet. I realized you provided an authSwitchHandler
configuration setting to properly react when the server asks for specific authentication methods.
Couldn't it be useful providing mysql_clear_password
the same way mysql_native_password
authentication capabilities have been already provided internally? After reading the official MySQL Clear Text Authentication piece of documentation, we could easily implement it in Javascript.
Metadata
Metadata
Assignees
Labels
feature requestmysqljs/mysql incompatibilitiesPreviously: feligxe-mysql-incompatibilitiesPreviously: feligxe-mysql-incompatibilities