Issue ##108 Adding --auto-vertical-output=false
This commit is contained in:
parent
3f78587411
commit
bf17735e51
1 changed files with 5 additions and 2 deletions
|
@ -386,6 +386,9 @@ sub mysql_setup {
|
||||||
badprint "Couldn't find mysql in your \$PATH. Is MySQL installed?";
|
badprint "Couldn't find mysql in your \$PATH. Is MySQL installed?";
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
$mysqlcmd =~ s/\n$//g;
|
||||||
|
$mysqlcmd .=" --auto-vertical-output=false";
|
||||||
|
debugprint "MySQL Client: $mysqlcmd";
|
||||||
|
|
||||||
# Are we being asked to connect via a socket?
|
# Are we being asked to connect via a socket?
|
||||||
if ( $opt{socket} ne 0 ) {
|
if ( $opt{socket} ne 0 ) {
|
||||||
|
@ -712,7 +715,7 @@ sub security_recommendations {
|
||||||
|
|
||||||
# Looking for Empty Password
|
# Looking for Empty Password
|
||||||
@mysqlstatlist = select_array
|
@mysqlstatlist = select_array
|
||||||
"SELECT CONCAT(user, '\@', host) FROM mysql.user WHERE (password = '' OR password IS NULL) AND (plugin='' OR plugin IS NULL)";
|
"SELECT CONCAT(user, '\@', host) FROM mysql.user WHERE password = '' OR password IS NULL";
|
||||||
if (@mysqlstatlist) {
|
if (@mysqlstatlist) {
|
||||||
foreach my $line ( sort @mysqlstatlist ) {
|
foreach my $line ( sort @mysqlstatlist ) {
|
||||||
chomp($line);
|
chomp($line);
|
||||||
|
|
Loading…
Reference in a new issue