Security & Optimization Check Feature disable

Started by dibidib, January 29, 2022, 08:39:36 PM

Previous topic - Next topic

dibidib

in old version, i was able use this function.
but after the MySQL page changed i couldnt use it..
how can I use mysqltuner?

iraqiboy90

Quote from: dibidib on January 29, 2022, 08:39:36 PM
in old version, i was able use this function.
but after the MySQL page changed i couldnt use it..
how can I use mysqltuner?

cd /root
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl
vim mysqltuner.pl

edit line 76 and 77 by adding root and mysql root password and save the file so you dont have to write it every time you want to run the script.
Make it an executable:
chmod +x mysqltuner.pl

To run the script
./mysqltuner.pl