From 4c14ba97184fa03e4c94c5619eb017bf87d89e10 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Wed, 6 Mar 2019 13:10:17 +0000 Subject: [PATCH] Missing password is not recognized #412 --- mysqltuner.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 6237c2c..d4dd359 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1739,7 +1739,7 @@ sub security_recommendations { my $PASS_COLUMN_NAME = 'password'; if ( $myvar{'version'} =~ /5\.7|10\..*MariaDB*/ ) { $PASS_COLUMN_NAME = -"IF(plugin='mysql_native_password', authentication_string, 'password')"; +"IF(plugin='mysql_native_password', authentication_string, password)"; } debugprint "Password column = $PASS_COLUMN_NAME"; @@ -3504,7 +3504,7 @@ sub mysqsl_pfs { push( @generalrec, "Consider installing Sys schema from https://github.com/good-dba/mariadb-sys for MariaDB" ) unless ( mysql_version_eq( 10, 0 ) or mysql_version_eq( 5, 5 ) ); - + return; } else {