Proposed fix for #268

This commit is contained in:
Marco Martinelli 2018-02-14 22:40:14 +01:00
parent 9f7a599195
commit 06f20b1fbb

View file

@ -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";