Skip to content

Commit 4c14ba9

Browse files
committed
Missing password is not recognized #412
1 parent 8724eb7 commit 4c14ba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysqltuner.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,7 +1739,7 @@ sub security_recommendations {
17391739
my $PASS_COLUMN_NAME = 'password';
17401740
if ( $myvar{'version'} =~ /5\.7|10\..*MariaDB*/ ) {
17411741
$PASS_COLUMN_NAME =
1742-
"IF(plugin='mysql_native_password', authentication_string, 'password')";
1742+
"IF(plugin='mysql_native_password', authentication_string, password)";
17431743
}
17441744
debugprint "Password column = $PASS_COLUMN_NAME";
17451745

@@ -3504,7 +3504,7 @@ sub mysqsl_pfs {
35043504
push( @generalrec,
35053505
"Consider installing Sys schema from https://github.com/good-dba/mariadb-sys for MariaDB"
35063506
) unless ( mysql_version_eq( 10, 0 ) or mysql_version_eq( 5, 5 ) );
3507-
3507+
35083508
return;
35093509
}
35103510
else {

0 commit comments

Comments
 (0)