From f88164ed640aba795d66d0933045189a62fb0d6c Mon Sep 17 00:00:00 2001 From: David Hill Date: Mon, 12 Dec 2016 10:26:29 -0600 Subject: [PATCH] MCOL-460 - fix issue where the ./my/cnf password wasnt being used in retry --- oam/install_scripts/post-mysql-install | 1 + 1 file changed, 1 insertion(+) diff --git a/oam/install_scripts/post-mysql-install b/oam/install_scripts/post-mysql-install index 58c469a98..dc9b7ca67 100755 --- a/oam/install_scripts/post-mysql-install +++ b/oam/install_scripts/post-mysql-install @@ -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