Description
MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved.
Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
Install
CentOS/RHEL 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install mysqltuner
CentOS/RHEL 9
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install mysqltuner
CentOS/RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install mysqltuner
CentOS/RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install mysqltuner
CentOS/RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install mysqltuner