authserver/homestead/scripts/create-mysql.sh
author durandn
Mon, 07 Sep 2015 17:39:52 +0200
changeset 96 b3cb1d4f07aa
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Updated Markers Widget to allow Markers to be deleted + reworked the widget code to make it slightly more readable + updated iframe for markers to allow markers to be submitted per-user

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