Update code, doc and vulnerabilities

This commit is contained in:
Jean-Marie RENOUARD 2018-02-22 15:29:33 +01:00
parent 86b0a1949f
commit 6d95d8642c
3 changed files with 631 additions and 510 deletions

View file

@ -1,6 +1,6 @@
# NAME # NAME
MySQLTuner 1.7.5 - MySQL High Performance Tuning Script MySQLTuner 1.7.6 - MySQL High Performance Tuning Script
# IMPORTANT USAGE GUIDELINES # IMPORTANT USAGE GUIDELINES

View file

@ -1690,7 +1690,8 @@ sub security_recommendations {
my $PASS_COLUMN_NAME = 'password'; my $PASS_COLUMN_NAME = 'password';
if ( $myvar{'version'} =~ /5\.7|10\..*MariaDB*/ ) { if ( $myvar{'version'} =~ /5\.7|10\..*MariaDB*/ ) {
$PASS_COLUMN_NAME = "IF(plugin='mysql_native_password', authentication_string, password)"; $PASS_COLUMN_NAME =
"IF(plugin='mysql_native_password', authentication_string, password)";
} }
debugprint "Password column = $PASS_COLUMN_NAME"; debugprint "Password column = $PASS_COLUMN_NAME";
@ -5266,7 +5267,9 @@ having sum(if(c.column_key in ('PRI','UNI'), 1,0)) = 0"
badprint "Galera Notify command is not defined."; badprint "Galera Notify command is not defined.";
push( @adjvars, "set up parameter wsrep_notify_cmd to be notify" ); push( @adjvars, "set up parameter wsrep_notify_cmd to be notify" );
} }
if ( trim( $myvar{'wsrep_sst_method'} ) !~ "^xtrabackup.*" and trim( $myvar{'wsrep_sst_method'} ) !~ "^mariabackup") { if ( trim( $myvar{'wsrep_sst_method'} ) !~ "^xtrabackup.*"
and trim( $myvar{'wsrep_sst_method'} ) !~ "^mariabackup" )
{
badprint "Galera SST method is not xtrabackup based."; badprint "Galera SST method is not xtrabackup based.";
push( @adjvars, push( @adjvars,
"set up parameter wsrep_sst_method to xtrabackup based parameter" "set up parameter wsrep_sst_method to xtrabackup based parameter"

File diff suppressed because it is too large Load diff