nim-vagrant/scripts/create-mysql.sh

6 lines
159 B
Bash

#!/usr/bin/env bash
DB=$1;
mysql -uhomestead -psecret -e "CREATE DATABASE IF NOT EXISTS \`$DB\` DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci";