MySQLTuner is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability.
- Log into your server with a root or sudo user via SSH.
- Download MySQLTuner by executing the following command:
wget -O mysqltuner.pl https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl --no-check-certificate
- Give the script 775 permissions:
chmod 775 mysqltuner.pl
- Run the script with the following command:
perl mysqltuner.pl