You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this will work in every PAM auth setup with mysql/mariadb (we use mariadb). But simply adding a fallthrough in auth.go to mysql_clear_password allowed authentication to work if you follow the rest of the docs on clear passwords. Maybe this will help someone else.
MariaDB and Percona Server use the dialog auth plugin instead of MySQL's
mysql_cleartext_password
plugin for PAM authentication.This driver should come with built-in support, as PAM authentication is rather common. The implementation complexity seems low. MariaDB's client implementation can be found here: https://github.com/MariaDB/mariadb-connector-c/blob/master/plugins/auth/dialog.c
The text was updated successfully, but these errors were encountered: