Merge pull request #421 from BarbzYHOOL/patch-1
README: Clear installation and usage instructions
This commit is contained in:
commit
15041b3cbc
1 changed files with 6 additions and 3 deletions
|
@ -78,14 +78,15 @@ All checks done by **MySQLTuner** are documented in [MySQLTuner Internals](https
|
|||
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 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
|
||||
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
|
||||
--
|
||||
|
@ -133,6 +134,8 @@ __Usage:__ Minimal usage locally
|
|||
|
||||
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
|
||||
|
||||
perl mysqltuner.pl --host targetDNS_IP --user admin_user --pass admin_password
|
||||
|
|
Loading…
Reference in a new issue