From 98f597a9af23a8980fc5659841be0ec5fc55c735 Mon Sep 17 00:00:00 2001 From: David Hill Date: Thu, 1 Dec 2016 21:26:09 +0000 Subject: [PATCH] update: --- oam/install_scripts/post-mysql-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oam/install_scripts/post-mysql-install b/oam/install_scripts/post-mysql-install index 1771e5226..eb172d454 100755 --- a/oam/install_scripts/post-mysql-install +++ b/oam/install_scripts/post-mysql-install @@ -10,10 +10,10 @@ checkForError() { grep "ERROR 1045" /tmp/mysql_install.log > /tmp/error.check if [ `cat /tmp/error.check | wc -c` -ne 0 ]; then if test -f $HOME/.my.cnf ; then - password=`cat $HOME/.my.cnf | grep password | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $3}' + password=`cat $HOME/.my.cnf | grep password | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $3}'` pwprompt="-p$password" else - echo "MySQL Password missing or incorrect, check .my.cnf file" + echo "MySQL Password file missing or incorrect, check .my.cnf file" rm -f /tmp/error.check $installdir/mysql/mysql-Columnstore stop sleep 2