authserver/homestead/scripts/create-mysql.sh
author durandn
Fri, 28 Aug 2015 11:52:42 +0200
changeset 78 3926ac9e5c77
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Small corrections on Markers widget + corrections on headers for LastAnnotation and AnnotationsList

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