From abc1b39671bab096272c8474ccdf7d7c29988991 Mon Sep 17 00:00:00 2001 From: Reforced Date: Sat, 13 Jul 2019 02:01:22 +0200 Subject: [PATCH] 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. :) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d4d182a..0d15b9c 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ Specific usage __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.