authserver/homestead/scripts/create-mysql.sh
author ymh <ymh.work@gmail.com>
Wed, 16 Sep 2015 20:19:41 +0200
changeset 140 28d3d938de2e
parent 8 5a0cbbe0922a
permissions -rw-r--r--
add django_cas_ng in installed application and upgrade django_cas_ng to correct a model problem

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