diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..8e68cbd --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,9 @@ +# How to contribute # + +##Before Submitting an issue## + +1. Upgrade to the latest version of MySQLtuner and see if the problem remains + +2. Look at the [closed issues](https://github.com/major/mysqltuner-perl/issues?state=closed), we may have already answered a similar problem + +3. [Read the doc](https://github.com/major/mysqltuner-perl/). It is short and useful. diff --git a/README.md b/README.md index ed2fd35..368cd7a 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,22 @@ The script will try its best to log in via any means possible. It will check fo Once you create it, make sure it's owned by your user and the mode on the file is 0600. This should prevent the prying eyes from getting your database login credentials under normal conditions. If a [T-1000 shows up in a LAPD uniform](https://en.wikipedia.org/wiki/T-1000) and demands your database credentials, you won't have much of an option. +Question: Is there another way to secure credentials on latest MySQL and MariaDB distributions ? + +You could use mysql_config_editor utilities. +$ mysql_config_editor set --login-path=client --user=someusername --password --host=localhost +Enter passord: ******** +$ + +At this time, ~/.mylogin.cnf has been written with appropriated rigth access. + +To get information about stored credentials, use the following command: +$mysql_config_editor print +[client] +user = someusername +password = ***** +host = localhost + Question: It's not working on my OS! What gives?! These kinds of things are bound to happen. Here are the details I need from you in order to research the problem thoroughly: @@ -68,4 +84,4 @@ These kinds of things are bound to happen. Here are the details I need from you * Exact MySQL version * Where you obtained your MySQL version (OS package, source, etc) * The full text of the error - * A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible) \ No newline at end of file + * A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible)