Merge pull request #367 from martinellimarco/master

Proposed fix for #268
This commit is contained in:
Jean-Marie Renouard 2018-02-22 15:21:01 +01:00 committed by GitHub
commit 5b2918296f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1689,8 +1689,8 @@ sub security_recommendations {
}
my $PASS_COLUMN_NAME = 'password';
if ( $myvar{'version'} =~ /5.7/ ) {
$PASS_COLUMN_NAME = 'authentication_string';
if ( $myvar{'version'} =~ /5\.7|10\..*MariaDB*/ ) {
$PASS_COLUMN_NAME = 'IF(plugin=\'mysql_native_password\', authentication_string, password)';
}
debugprint "Password column = $PASS_COLUMN_NAME";