Merge pull request #73 from jmrenouard/master
a perltidy file + README fix
This commit is contained in:
commit
993bc18362
2 changed files with 29 additions and 8 deletions
19
.perltidy
Normal file
19
.perltidy
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--backup-and-modify-in-place
|
||||||
|
--backup-file-extension=beforeTidy
|
||||||
|
--block-brace-tightness=2
|
||||||
|
--brace-tightness=2
|
||||||
|
--closing-token-indentation=1
|
||||||
|
--continuation-indentation=4
|
||||||
|
--indent-columns=4
|
||||||
|
--maximum-line-length=134
|
||||||
|
--cuddled-else
|
||||||
|
--opening-sub-brace-on-new-line
|
||||||
|
--noopening-brace-on-new-line
|
||||||
|
--nooutdent-labels
|
||||||
|
--paren-tightness=2
|
||||||
|
--square-bracket-tightness=2
|
||||||
|
--vertical-tightness=0
|
||||||
|
--vertical-tightness-closing=0
|
||||||
|
--break-at-old-comma-breakpoints
|
||||||
|
--entab-leading-whitespace=4
|
||||||
|
--tabs
|
18
README.md
18
README.md
|
@ -62,18 +62,20 @@ 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 ?
|
Question: Is there another way to secure credentials on latest MySQL and MariaDB distributions ?
|
||||||
|
|
||||||
You could use mysql_config_editor utilities.
|
You could use mysql_config_editor utilities.
|
||||||
$ mysql_config_editor set --login-path=client --user=someusername --password --host=localhost
|
|
||||||
Enter passord: ********
|
$ 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.
|
At this time, ~/.mylogin.cnf has been written with appropriated rigth access.
|
||||||
|
|
||||||
To get information about stored credentials, use the following command:
|
To get information about stored credentials, use the following command:
|
||||||
$mysql_config_editor print
|
|
||||||
[client]
|
$mysql_config_editor print
|
||||||
user = someusername
|
[client]
|
||||||
password = *****
|
user = someusername
|
||||||
host = localhost
|
password = *****
|
||||||
|
host = localhost
|
||||||
|
|
||||||
Question: It's not working on my OS! What gives?!
|
Question: It's not working on my OS! What gives?!
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue