authserver/homestead/scripts/create-mysql.sh
author durandn
Wed, 09 Sep 2015 18:10:04 +0200
changeset 117 42529ea40c4a
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Minor adjustments for remie, changed header texts, inverted buttons on AnnotationsController

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