diff --git a/mysqltuner.pl b/mysqltuner.pl index 744bc31..c7d99ee 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -988,7 +988,7 @@ sub mysql_setup { chomp($password); chomp($name); $mysqllogin = "-u $name"; -< + if ( length($password) > 0 ) { $mysqllogin .= " -p'$password'"; }