authserver/homestead/scripts/create-mysql.sh
author durandn
Mon, 31 Aug 2015 12:22:14 +0200
changeset 87 4ea185b1b7ce
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Added custom headers options for AnnotationsList and LatestAnnotation

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