authserver/homestead/scripts/create-mysql.sh
author durandn
Tue, 22 Sep 2015 12:02:55 +0200
changeset 161 30f520ba59a1
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Small fix for better interaction between CreateAnnotation and AnnotationController

#!/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";