Fixed password change on MariaDB without auth plugin

Fixes #12424

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-08-02 08:32:59 +02:00
parent 319c7a8247
commit cdcf74ab0b
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ phpMyAdmin - ChangeLog
- issue #12303 Avoid typecasting to float when not needed
- issue #12425 Duplicate message variable names in messages.inc.php
- issue #12399 Adding index to table shows wrong top navigation
- issue #12424 Fixed password change on MariaDB without auth plugin
4.6.3 (2016-06-23)
- issue #12249 Fixed cookie path on Windows

View File

@ -237,6 +237,7 @@ function PMA_changePassUrlParamsAndSubmitQuery(
} else if ($serverType == 'MariaDB'
&& PMA_MYSQL_INT_VERSION >= 50200
&& PMA_MYSQL_INT_VERSION < 100100
&& $orig_auth_plugin !== ''
) {
if ($orig_auth_plugin == 'mysql_native_password') {
// Set the hashing method used by PASSWORD()