1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-460 - fix issue where the ./my/cnf password wasnt being used in retry

This commit is contained in:
David Hill
2016-12-12 10:26:29 -06:00
parent 974a50ceec
commit f88164ed64

View File

@ -13,6 +13,7 @@ checkForError() {
password=`cat $HOME/.my.cnf | grep password | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $3}'`
if [ ! -z $password ]; then
pwprompt="-p$password"
return 1;
else
echo "MySQL Password file missing or incorrect, check .my.cnf file"
rm -f /tmp/error.check