From ba0cd810303d11b2c5ebe0d0b0a2479b39894892 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 16 Jun 2016 11:18:09 +0200 Subject: [PATCH] Update README.md --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 15e883f..18836dd 100644 --- a/README.md +++ b/README.md @@ -151,27 +151,28 @@ These kinds of things are bound to happen. Here are the details I need from you * use option --cvefile to perform CVE checks **Question: How to use mysqltuner from remote host ?** +Thanks to [@rolandomysqldba](http://dba.stackexchange.com/users/877/rolandomysqldba) * You will still have to connect like a mysql client: -* Connection and Authentication +Connection and Authentication - Parameter host Connect to a remote host to perform tests (default: localhost) - Parameter socket Use a different socket for a local connection - Parameter port Port to use for connection (default: 3306) - Parameter user Username to use for authentication - Parameter pass Password to use for authentication + --host Connect to a remote host to perform tests (default: localhost) + --socket Use a different socket for a local connection + --port Port to use for connection (default: 3306) + --user Username to use for authentication + --pass Password to use for authentication -* Since you are using a remote host, use parameters to supply values from the OS +Since you are using a remote host, use parameters to supply values from the OS - Parameter forcemem Amount of RAM installed in megabytes - Parameter forceswap Amount of swap memory configured in megabytes + --forcemem Amount of RAM installed in megabytes + --forceswap Amount of swap memory configured in megabytes * You may have to contact your remote SysAdmin to ask how much RAM and swap you have -* If the database has too many tables, or very large table, use this: +If the database has too many tables, or very large table, use this: - Parameter skipsize Don't enumerate tables and their types/sizes (default: on) + --skipsize Don't enumerate tables and their types/sizes (default: on) (Recommended for servers with many tables) MySQLTuner and Vagrant