Skip to content
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

MySQLTuner does not work #483

Closed
Nirjonadda opened this issue Feb 28, 2020 · 4 comments
Closed

MySQLTuner does not work #483

Nirjonadda opened this issue Feb 28, 2020 · 4 comments
Assignees

Comments

@Nirjonadda
Copy link

We do run MySQLTuner but this does not completed. Please can you let me know that how can fix this issue?

ScreenShot00036

@mathieu-aubin
Copy link

mathieu-aubin commented Feb 28, 2020

Try this.. maybe

  • Stop your sql instance
  • Rotate or empty the log file at /var/log/mysqld.log
  • Restart your sql server
  • Try again

I believe your GIGANTIC logfile is giving you issues. Probably your sql instance logs are set to some high verbosity logging which results in big log files. Also, it could be that there are never any log file rotation being done on the actual file - which means your logfiles contains everything from the initial start of the instance, whenever the machine was created.

To rotate your logs automatically and thus keep them relevant and of a decent size on a daily or, even, weekly/monthly basis, check out logrotate

Hope this helps. Also, check if there is a skip-log option of some sort (i have no idea)

@jmrenouard jmrenouard self-assigned this Mar 3, 2020
@jmrenouard
Copy link
Collaborator

Hi,

First as @mathieu-aubin says implementing a log rotation can be nice.

Maybe a control other file size greater than 200 Mb can be nice with a message advising implementing a log rotation strategy can be good.

BR,

@grooverdan
Copy link
Contributor

@jmrenouard
Copy link
Collaborator

Fell free to reopen if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants