Install and run mysqltuner
To install mysqtuner, download the mysqltuner.pl script. For example, you can download it with wget:
$ wget https://raw.github.com/rackerhacker/MySQLTuner-perl/master/mysqltuner.pl
To monitor a MySQL server installed by a Bitnami stack, pass the connection values through the command line, as shown below. Note that you will need Perl installed on the system.
$ perl mysqltuner.pl --socket /opt/bitnami/mysql/tmp/mysql.sock