First let setup MySQL to use auth_pam authentication and trigger the issue we want to troubleshoot Check if PAM authentication is setup root@db-test3:/usr/lib64/mysql/plugin# cat /etc/pam.d/mysql #%PAM-1.0 auth required pam_sss.so account required pam_sss.so Create a user with auth_pam plugin mysql> INSTALL PLUGIN auth_pam SONAME 'auth_pam.so'; mysql> CREATE USER mgbai@'127.0.0.1' IDENTIFIED WITH auth_pam AS 'mysql'; mysql> GRANT …
Continue reading Troubleshoot MySQL/LDAP Auth_pam error when apparmor is enforced