authserver/homestead/scripts/create-mysql.sh
author durandn
Tue, 22 Sep 2015 17:07:01 +0200
changeset 163 f7cc6a0670fd
parent 8 5a0cbbe0922a
permissions -rw-r--r--
CurrentSegmentInfobox: Fixed bug where editing a segment would not update the source correctly and mess up with other widgets

#!/usr/bin/env bash

DB=$1;

mysql -uhomestead -psecret -e "DROP DATABASE IF EXISTS \`$DB\`";
mysql -uhomestead -psecret -e "CREATE DATABASE \`$DB\` DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci";