authserver/homestead/scripts/create-mysql.sh
author rougeronj
Tue, 08 Sep 2015 15:25:32 +0200
changeset 104 64ad4987d31c
parent 8 5a0cbbe0922a
permissions -rw-r--r--
add class "selected" on the marker just created bring the selected/hover marker to the foreground

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