diff --git a/libraries/server_privileges.lib.php b/libraries/server_privileges.lib.php index c103d79d66..7e5f383ee4 100644 --- a/libraries/server_privileges.lib.php +++ b/libraries/server_privileges.lib.php @@ -1801,11 +1801,11 @@ function PMA_getCurrentAuthenticationPlugin( if (isset($row) && $row && ! empty($row['plugin'])) { $authentication_plugin = $row['plugin']; } - } else { + } elseif (PMA_MYSQL_INT_VERSION >= 50702) { $row = $GLOBALS['dbi']->fetchSingleRow( 'SELECT @@default_authentication_plugin' ); - $authentication_plugin = $row['Value']; + $authentication_plugin = $row['@@default_authentication_plugin']; } return $authentication_plugin;