From a6a2cb3b85826b448a177367ad73311409a03566 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 27 Aug 2015 12:05:45 +0200 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 0555f45..f148d67 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,30 @@ You can download the entire repository by using 'git clone' followed by the clon Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly. +Specific usage +-- + +* Minimal usage locally + perl mysqltuner.pl + +* Minimal usage remotely + perl mysqltuner.pl --host targetDNS_IP --user admin_user --password admin_password + +* Enable maximum output information around MySQL/MariaDb without debugging + perl mysqltuner.pl --buffers --dbstat --idxstat + +* Write your result in a file with information displayed + perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt + +* Write your result in a file **without outputting information** + perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt + +* Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax. + perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl + +* Enable debugging information + perl mysqltuner.pl --debug + FAQ --