What is MySQL performance tuning and what does it mean ?
MySQL has a lot of variables in its configuration. We can edit and set/alter variables to our requirements on our server. We can improve the MySQL performance by varying those values in configuration file. A lot of methods and shell scripts are available for tuning your MySQL server. Here I am explaining the installation and usage of one shell script for tuning the MySQL.
This performance tuning shell script will help you to optimize your MySQL server on a huge traffic cPanel server.
The MySQL tuner has simple installation steps. You can download the latest version from HERE.
Step I : SSH to your server as root user.
Step II : wget the latest version.
Step III : Change the file permission as executable.
chmod 755 tuning-primer.sh
Step IV : Execute the script.
That’s it 🙂
See the attached image which has a sample tuner output.
Simple PHP script to check the MySQL database connection from web-browser
2 thoughts on “Performance tuning script for MySQL – Command-line Mysql Tuner”