major/MySQLTuner-perl
Script is failing on MySQL 5.6.10(AWS Aurora)
Ouverte
#435 ouverte le 17 avr. 2019
Help Wantedenhancement
Métriques du dépôt
- Stars
- (9 476 étoiles)
- Métriques de merge PR
- (Merge moyen 3j 20h) (9 PRs mergées en 30 j)
Description
Getting following error when running it on Mysql 5.6 (AWS Aurora) -
>> MySQLTuner 1.7.15 - Major Hayden <major@mhtx.net>
Use of uninitialized value in division (/) at mysqltuner.pl line 2657 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you
the name of the variable (if any) that was undefined. In some cases
it cannot do this, so it also tells you what operation you used the
undefined value in. Note, however, that perl optimizes your program
and the operation displayed in the warning may not necessarily appear
literally in your program. For example, "that $foo" is usually
optimized into "that " . $foo, and the warning will refer to the
concatenation (.) operator, even though there is no . in
your program.
Illegal division by zero at mysqltuner.pl line 2657 (#2)
(F) You tried to divide a number by 0. Either something was wrong in
your logic, or you need to put a conditional in to guard against
meaningless input.
Uncaught exception from user code:
Illegal division by zero at mysqltuner.pl line 2657.
main::calculations() called at mysqltuner.pl line 6307