diff --git a/mysqltuner.pl b/mysqltuner.pl index 149378f..4d7ac02 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1690,7 +1690,7 @@ sub security_recommendations { my $PASS_COLUMN_NAME = 'password'; if ( $myvar{'version'} =~ /5\.7|10\..*MariaDB*/ ) { - $PASS_COLUMN_NAME = 'authentication_string'; + $PASS_COLUMN_NAME = 'IF(plugin=\'mysql_native_password\', authentication_string, password)'; } debugprint "Password column = $PASS_COLUMN_NAME";