Skip to content

Illegal division by zero #566

@dac2020

Description

@dac2020

I was running mysqltuner-1.7.21 on Debian and got a similar result so used apt to install which gave me MySQLTuner 1.7.17.
However, this one also gives me another similar error. The os is Debian GNU/Linux 11 (bullseye).

Not being a programmer, I'm not sure what I am facing and searching using Google is leading to countless things which don't help so thought I should ask here.

`-------- InnoDB Metrics ----------------------------------------------------------------------------
[--] InnoDB is enabled.
[OK] InnoDB File per table is activated
[OK] InnoDB buffer pool / data size: 48.0G/7.5G
Use of uninitialized value in concatenation (.) or string at
/usr/bin/mysqltuner line 5614 (#1)
[!!] Ratio InnoDB log file size / InnoDB Buffer pool size (0 %): 5.0G * /48.0G should be equal to 25%
Use of uninitialized value in division (/) at /usr/bin/mysqltuner line 5621 (#1)

Illegal division by zero at /usr/bin/mysqltuner line 5621 (#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 /usr/bin/mysqltuner line 5621.
main::mysql_innodb() called at /usr/bin/mysqltuner line 6353
`

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions