From 06f20b1fbbc31cfcd03def7ae04699c997b6f53c Mon Sep 17 00:00:00 2001 From: Marco Martinelli Date: Wed, 14 Feb 2018 22:40:14 +0100 Subject: [PATCH] Proposed fix for #268 --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";