Merge pull request #421 from BarbzYHOOL/patch-1

README: Clear installation and usage instructions
This commit is contained in:
Jean-Marie Renouard 2019-01-08 09:48:16 +01:00 committed by GitHub
commit 15041b3cbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,14 +78,15 @@ All checks done by **MySQLTuner** are documented in [MySQLTuner Internals](https
Download/Installation Download/Installation
-- --
You can download the entire repository by using 'git clone' followed by the cloning URL above. The simplest and shortest method is: Choose one of these methods:
1) Script direct download (the simplest and shortest method):
wget http://mysqltuner.pl/ -O mysqltuner.pl wget http://mysqltuner.pl/ -O mysqltuner.pl
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
perl mysqltuner.pl
Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly. 2) You can download the entire repository by using `git clone` or `git clone --depth 1 -b master` followed by the cloning URL above.
Optional Sysschema installation for MySQL 5.6 Optional Sysschema installation for MySQL 5.6
-- --
@ -133,6 +134,8 @@ __Usage:__ Minimal usage locally
perl mysqltuner.pl perl mysqltuner.pl
Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly.
__Usage:__ Minimal usage remotely __Usage:__ Minimal usage remotely
perl mysqltuner.pl --host targetDNS_IP --user admin_user --pass admin_password perl mysqltuner.pl --host targetDNS_IP --user admin_user --pass admin_password