Update mysqltuner.pl

This commit is contained in:
Long Radix 2023-05-11 17:21:01 +02:00 committed by GitHub
parent 842ae6e582
commit 7a4e7ffa18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -950,7 +950,7 @@ sub mysql_setup {
unless ( -e "${userpath}/.my.cnf" or -e "${userpath}/.mylogin.cnf" )
{
badprint
"Successfully authenticated with no password - SECURITY RISK!";
"SECURITY RISK: Successfully authenticated without password";
}
return 1;
}
@ -1002,7 +1002,7 @@ sub mysql_setup {
unless ( -e "$userpath/.my.cnf" ) {
print STDERR "";
badprint
"Successfully authenticated with no password - SECURITY RISK!";
"SECURITY RISK: Successfully authenticated without password";
}
}
return 1;
@ -1782,7 +1782,7 @@ sub get_kernel_info {
if ( `sysctl -n vm.swappiness` > 10 ) {
badprint
"Swappiness is > 10, please consider having a value lower than 10";
push @generalrec, "setup swappiness lower or equals to 10";
push @generalrec, "setup swappiness lower or equal to 10";
push @adjvars,
'vm.swappiness <= 10 (echo 10 > /proc/sys/vm/swappiness)';
}