Fix for wrong mysql_upgrade message on Users tab with Percona Server >= 5.7

Signed-off-by: Andre Evertz <andre.evertz@devil-coding.de>
This commit is contained in:
Andre Evertz 2016-02-25 23:35:11 +01:00 committed by Madhura Jayaratne
parent 33f0b947db
commit f825abc8a7

View File

@ -4712,7 +4712,8 @@ function PMA_getHtmlForUserOverview($pmaThemeImage, $text_dir)
. '</h2>' . "\n";
$password_column = 'Password';
if (Util::getServerType() == 'MySQL'
$server_type = Util::getServerType();
if (($server_type == 'MySQL' || $server_type == 'Percona Server')
&& PMA_MYSQL_INT_VERSION >= 50706
) {
$password_column = 'authentication_string';