authserver/homestead/scripts/create-mysql.sh
author durandn
Mon, 02 Nov 2015 16:03:59 +0100
changeset 176 ba9f193121c3
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Adjustements on Markers scenario (now displays a "teacher" markers row) + Added a new "markers_teacher" scenario to edit the teacher markers and browse user markers

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