Isse #108 Abort mysqltuner when auto-vertical-output is set in dafaults
This commit is contained in:
parent
82804c11da
commit
504aee51a6
1 changed files with 7 additions and 5 deletions
|
@ -387,11 +387,13 @@ sub mysql_setup {
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
$mysqlcmd =~ s/\n$//g;
|
$mysqlcmd =~ s/\n$//g;
|
||||||
# my $mysqlcliversion=`$mysqlcmd --version`;
|
my $mysqlclidefaults=`$mysqlcmd --print-defaults`;
|
||||||
# if ( $mysqlcliversion =~ /5\.[567]/) {
|
debugprint "MySQL Client: $mysqlclidefaults";
|
||||||
# $mysqlcmd .=" --auto-vertical-output=false";
|
if ( $mysqlclidefaults=~/auto-vertical-output/ ) {
|
||||||
# }
|
badprint "Avoid auto-vertical-output in configuration file(s) for MySQL like";
|
||||||
|
exit 1;
|
||||||
|
}
|
||||||
|
|
||||||
debugprint "MySQL Client: $mysqlcmd";
|
debugprint "MySQL Client: $mysqlcmd";
|
||||||
|
|
||||||
# Are we being asked to connect via a socket?
|
# Are we being asked to connect via a socket?
|
||||||
|
|
Loading…
Reference in a new issue