-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Illegal division by zero #566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Anyone? Surely I'm not the only one seeing this problem? |
Hi, Best regards, |
innodb_log_files_in_group deprecated and ignored from MariaDB 10.5.2 #565 |
Thank you for the reply. Just so you know, mysqltuner-1.7.21.pl works fine on Centos 7 at least but not on Debian as mentioned above. I tried to upgrade but could not find an upgrade path for that OS. |
Hi, Thanks for your quick answer I just tag code in Github for a new version 1.7.24 I closed this issue |
lsb_release -r mysqltuner is already the newest version (1.7.17-1). It was 2023... |
I am seeing this exact problem. What is the fix? |
download current version and replace file |
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
`
The text was updated successfully, but these errors were encountered: