The MySQLTuner is a script that helps you review a MySQL installation quickly and considered to be an effective way to improve its performance and achieve stability.
Note : You’d need to be logged in as root user before to run the MySQLTuner script.
HOW TO use MySQLTuner ?
Step 1 : Log into your server with a root or sudo user via SSH.
Step 2 : Use the below command to download and execute :
Step 3 : You’d need to assign 775 permissions for the script:
chmod 775 mysqltuner.pl
Step 4 : To Run the script use:
It’d then display the stats and recommendations similar to the one shown below :
This concludes the process.