Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0d8eb20c
Commit
0d8eb20c
authored
Nov 20, 2015
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate code.
parent
f4421c89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
scripts/wsrep_sst_mysqldump.sh
scripts/wsrep_sst_mysqldump.sh
+0
-11
No files found.
scripts/wsrep_sst_mysqldump.sh
View file @
0d8eb20c
...
...
@@ -76,17 +76,6 @@ fi
# word, it is arguably more secure than passing password on the command line.
[
-n
"
$WSREP_SST_OPT_PSWD
"
]
&&
export
MYSQL_PWD
=
"
$WSREP_SST_OPT_PSWD
"
# Refs https://github.com/codership/mysql-wsrep/issues/141
# Passing password in MYSQL_PWD environment variable is considered
# "extremely insecure" by MySQL Guidelines for Password Security
# (https://dev.mysql.com/doc/refman/5.6/en/password-security-user.html)
# that is even less secure than passing it on a command line! It is doubtful:
# the whole command line is easily observable by any unprivileged user via ps,
# whereas (at least on Linux) unprivileged user can't see process environment
# that he does not own. So while it may be not secure in the NSA sense of the
# word, it is arguably more secure than passing password on the command line.
[
-n
"
$WSREP_SST_OPT_PSWD
"
]
&&
export
MYSQL_PWD
=
"
$WSREP_SST_OPT_PSWD
"
STOP_WSREP
=
"SET wsrep_on=OFF;"
# mysqldump cannot restore CSV tables, fix this issue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment