From 8aa8ffaa5bff506f9c9f2d42c62373e19a8bf4b6 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 2 Feb 2023 08:29:45 +0100 Subject: [PATCH] Legibility issue upon entering credentials #613 --- mysqltuner.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mysqltuner.pl b/mysqltuner.pl index daf9391..e27306b 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1001,6 +1001,7 @@ sub mysql_setup { my $userpath = `printenv HOME`; chomp($userpath); unless ( -e "$userpath/.my.cnf" ) { + print STDERR ""; badprint "Successfully authenticated with no password - SECURITY RISK!"; } @@ -1008,6 +1009,7 @@ sub mysql_setup { return 1; } else { + print STDERR ""; badprint "Attempted to use login credentials, but they were invalid."; exit 1;