From c6eb2cee45cf00dbb0c289ba0da9db4773e0d77c Mon Sep 17 00:00:00 2001 From: Vallabh Kansagara Date: Mon, 6 Aug 2018 15:21:54 +0530 Subject: [PATCH] Redme visual improvement. --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 91dc357..f77682f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ MySQLTuner needs you: [![Stargazers over time](https://starcharts.herokuapp.com/major/MySQLTuner-perl.svg)](https://starcharts.herokuapp.com/major/MySQLTuner-perl) -Compatibility: +Compatibility ==== * MySQL 5.7 (full support) @@ -68,7 +68,7 @@ Security recommendations -- Hi directadmin user! -We detected that you run mysqltuner with da_admin's credentials taken from /usr/local/directadmin/conf/my.cnf, which might bring to a password discovery! +We detected that you run mysqltuner with da_admin's credentials taken from `/usr/local/directadmin/conf/my.cnf`, which might bring to a password discovery! Read link for more details [Issue #289](https://github.com/major/MySQLTuner-perl/issues/289). What MySQLTuner is checking exactly ? @@ -148,12 +148,11 @@ Once you create it, make sure it's owned by your user and the mode on the file i **Question: Is there another way to secure credentials on latest MySQL and MariaDB distributions ?** You could use mysql_config_editor utilities. - +~~~bash $ mysql_config_editor set --login-path=client --user=someusername --password --host=localhost Enter password: ******** - $ - -After which, ~/.mylogin.cnf will be created with the appropriate access. +~~~ +After which, `~/.mylogin.cnf` will be created with the appropriate access. To get information about stored credentials, use the following command: