authserver/homestead/scripts/create-mysql.sh
author durandn
Fri, 28 Aug 2015 12:24:30 +0200
changeset 79 fd48103c0deb
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Modified CurrentSegmentInfobox to allow for editable segments (title, description and tags)

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