Merge branch 'master' of https://github.com/major/MySQLTuner-perl
This commit is contained in:
commit
3f78587411
2 changed files with 16 additions and 3 deletions
17
.travis.yml
17
.travis.yml
|
@ -1,3 +1,5 @@
|
||||||
|
sudo: false
|
||||||
|
|
||||||
language: perl
|
language: perl
|
||||||
perl:
|
perl:
|
||||||
- "blead"
|
- "blead"
|
||||||
|
@ -8,7 +10,18 @@ perl:
|
||||||
- "5.12"
|
- "5.12"
|
||||||
- "5.10"
|
- "5.10"
|
||||||
- "5.8"
|
- "5.8"
|
||||||
- "5.6"
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- addons:
|
||||||
|
mariadb: 5.5
|
||||||
|
perl: 5.20
|
||||||
|
- addons:
|
||||||
|
mariadb: 10.0
|
||||||
|
perl: 5.20
|
||||||
|
- addons:
|
||||||
|
mariadb: 10.1
|
||||||
|
perl: 5.20
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- git clone git://github.com/haarg/perl-travis-helper
|
- git clone git://github.com/haarg/perl-travis-helper
|
||||||
|
@ -20,4 +33,4 @@ install:
|
||||||
- cpanm --quiet --notest Data::Dumper
|
- cpanm --quiet --notest Data::Dumper
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mysqltuner
|
- ./mysqltuner.pl
|
||||||
|
|
|
@ -712,7 +712,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";
|
"SELECT CONCAT(user, '\@', host) FROM mysql.user WHERE (password = '' OR password IS NULL) AND (plugin='' OR plugin 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