Kev suggested this question ( https://stackoverflow.com/questions/10524981/php-script-to-show-mysql-health-status ) is better fitted here.
I know phpMyAdmin can shows the lists of MySQL vars and stuff like that.
But I would love to have a script that shows me if, for example, there is something wrong with MySQL configs or some graphic tools to see current MySQL health status.
Is there something like that? How can I know, for example, if current settings aren't good for my machine?
Let's say I have innodb buffer pool size set to 64MB while one of my INNODB tables is 1GB. That's not good at all. And that's just an example with innodb pool size. I think there could be many other settings to be aware of that a web based script could help to monitor.
Best Answer
There are a few options in this space.
A favorite one for information like your buffer pool is too small is mysqltuner.pl. The developer did a nice trick where you can download it by running
wget mysqltuner.pl
. It outputs something similar to thisAs PythianMoore mentioned, pt-variable-advisor is another option. It checks different things then mysqltuner.pl does. For example, it outputs
Those are the main two I've run into people using. G'luck!