From 7a4e7ffa185d3a36638a1031108628215c40a45e Mon Sep 17 00:00:00 2001 From: Long Radix <74498097+longradix@users.noreply.github.com> Date: Thu, 11 May 2023 17:21:01 +0200 Subject: [PATCH] Update mysqltuner.pl --- mysqltuner.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 85be3d2..4f10ebe 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -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)'; }