|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75645 The server requested authentication method unknown to the client [dialog]
Submitted: 2017-12-07 09:45 UTC Modified: -
Avg. Score:4.2 ± 0.9
Reproduced:17 of 17 (100.0%)
Same Version:10 (58.8%)
Same OS:12 (70.6%)
From: michal at cihar dot com Assigned:
Status: Open Package: MySQLi related
PHP Version: 7.2.0 OS: any
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-12-07 09:45 UTC] michal at cihar dot com
PHP fails to authenticate against MariaDB using PAM authentication. 

You can find all details in, which has been reported against mysql extension and closed only because that extension has been deprecated meanwhile, however exactly same problem exists in MySQLi as well.

I've checked current git and the dialog plugin is still not there, so this applies to all PHP versions so far.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-06 12:48 UTC] kstan at simitgroup dot com
Yes, wish mysqli support PAM authentication. I'm wish to use
 [2018-10-27 01:57 UTC] buphmin at gmail dot com
I have also been able to reproduce this using mysqlnd with PDO and mysqli on php versions 7.0, 7.1, 7.2. I have not yet got around to recompiling PHP to use libmysqlclient to see if that also fails.
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Jan 23 07:01:25 2019 UTC