Add --host to minimal usage locally example

After implemented a bunch of suggestions, of which "Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1" and "Restrict Host for user\@% to user\@SpecificDNSorIp" I got a nasty `[!!] Attempted to use login credentials, but they were invalid.` error when trying to use mysqltuner again. Obviously since by default it uses `localhost` (due `mysqladmin`). Add it to the example to show the user the way. :)
This commit is contained in:
Reforced 2019-07-13 02:01:22 +02:00 committed by GitHub
parent a6d37e7ed1
commit abc1b39671
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,7 +137,7 @@ Specific usage
__Usage:__ Minimal usage locally __Usage:__ Minimal usage locally
perl mysqltuner.pl perl mysqltuner.pl --host 127.0.0.1
Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly. Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly.