#!/bin/bash

mysql -ugitbucket -pgitbucketdbpassword << EOF
drop database gitbucket;
create database gitbucket;
quit
EOF

mysql -ugitbucket -pgitbucketdbpassword gitbucket < gitbucket-export-latest.sql


