Merge pull request #72 from jmrenouard/master

Adding a small CONTRIBUTING file
This commit is contained in:
Major Hayden 2015-06-16 08:38:30 -05:00
commit b5761f7127
2 changed files with 26 additions and 1 deletions

9
CONTRIBUTING.md Normal file
View file

@ -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.

View file

@ -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)
* A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible)