Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMKuehne committed Jul 25, 2023
1 parent c547a03 commit 51a0a61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helper/helper_embark_general.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ check_db() {
exit 1
fi
echo -e "$BLUE""$BOLD""2. checking password""$NC\\n"
if ! mysql --host="$HOST_ENV" --user="$USER_ENV" --password="$PW_ENV" -e"quit" &>/dev/null; then
if ! mysql --host="$HOST_ENV" --user="$USER_ENV" --password="$PW_ENV" -e"quit" | grep -v "Warning: Using a password"; then
echo -e "$ORANGE""$BOLD""[*] Testing again with user=$USER_ENV host=$HOST_ENV pw=$PW_ENV""$NC"
sleep 40s
sleep 35s
if ! mysql --host="${HOST_ENV}" --user="${USER_ENV}" --password="${PW_ENV}" -e"quit" | grep -v "Warning: Using a password"; then
echo -e "$ORANGE""$BOLD""Failed logging into database with password""$NC"
echo -e "---------------------------------------------------------------------------"
Expand Down

0 comments on commit 51a0a61

Please sign in to comment.