From 35655648e9a571181384c757f319646634c3f0e0 Mon Sep 17 00:00:00 2001 From: Jean-Marie RENOUARD Date: Tue, 16 Jun 2015 15:43:06 +0200 Subject: [PATCH 1/2] .perltidy rules --- .perltidy | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .perltidy diff --git a/.perltidy b/.perltidy new file mode 100644 index 0000000..3e4678a --- /dev/null +++ b/.perltidy @@ -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 From 5ae4a7ddddf28dd0e26124b75848f59a03aeb8d3 Mon Sep 17 00:00:00 2001 From: Jean-Marie RENOUARD Date: Tue, 16 Jun 2015 15:45:34 +0200 Subject: [PATCH 2/2] README format errorswq --- README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 368cd7a..d002919 100644 --- a/README.md +++ b/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 ? 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. To get information about stored credentials, use the following command: -$mysql_config_editor print -[client] -user = someusername -password = ***** -host = localhost + + $mysql_config_editor print + [client] + user = someusername + password = ***** + host = localhost Question: It's not working on my OS! What gives?!