Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Jan 11, 2025
1 parent b13dab2 commit d4e2912
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phpunit/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ install_db() {
fi
fi

# Drop database if it exists
mysqladmin drop $DB_NAME --user="$DB_USER" --password="$DB_PASS"$EXTRA --force 2>/dev/null || true

# create database
mysqladmin create $DB_NAME --user="$DB_USER" --password="$DB_PASS"$EXTRA
}
Expand Down

0 comments on commit d4e2912

Please sign in to comment.