-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Illegal division by zero #423
Comments
Do you restart your server just before running mysqltuner ? This expression $mystat{'Uptime'} returns 0. So, this means that you don't let mariaDb run during enougth time in order to get accurated information. |
Adding a test for uptime = 0 and set up uptime to 1 sec. at least |
Actually, yes. |
You should wait at least a complete day to see useful information in your status. |
So, I fixed it. I also push a notification on README. Don't use mysqltuner on a fresh restarted server and wait at least one day of full production to get accurated results. |
OK, thanks a lot! |
Running freshly cloned repo and mariadb 10.3.12
The text was updated successfully, but these errors were encountered: