Commit 4d870b59 authored by Alexey Yurchenko's avatar Alexey Yurchenko Committed by Julius Goryavsky

Don't pass password to innobackup via command line, use environment instead

Signed-off-by: default avatarJulius Goryavsky <julius.goryavsky@mariadb.com>
parent 94dea8ef
......@@ -868,10 +868,10 @@ then
fi
if [ -n "${WSREP_SST_OPT_PSWD:-}" ]; then
INNOEXTRA+=" --password=$WSREP_SST_OPT_PSWD"
export MYSQL_PWD=$WSREP_SST_OPT_PSWD
elif [[ $usrst -eq 1 ]];then
# Empty password, used for testing, debugging etc.
INNOEXTRA+=" --password="
# Empty password, used for testing, debugging etc.
unset MYSQL_PWD
fi
get_keys
......
......@@ -958,10 +958,10 @@ then
fi
if [ -n "${WSREP_SST_OPT_PSWD:-}" ]; then
INNOEXTRA+=" --password=$WSREP_SST_OPT_PSWD"
export MYSQL_PWD=$WSREP_SST_OPT_PSWD
elif [[ $usrst -eq 1 ]];then
# Empty password, used for testing, debugging etc.
INNOEXTRA+=" --password="
# Empty password, used for testing, debugging etc.
unset MYSQL_PWD
fi
get_keys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment