authserver/homestead/scripts/create-mysql.sh
author durandn
Tue, 15 Sep 2015 15:12:08 +0200
changeset 126 d23705b04d7b
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Corrections on Marker widget and scenario for remie

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