authserver/homestead/scripts/create-mysql.sh
author durandn
Fri, 18 Sep 2015 12:58:47 +0200
changeset 154 cc84bf4cfc56
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Changes to AnnotationsList and LatestAnnotations to display user full names, added a way for widgets to make request pre-draw in order to fill users data before drawing

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