This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ** usage ** | |
# initialize a MYSQL_DATABASES env variable in the container with space separated db names | |
# e.g. MYSQL_DATABASES="foo bar" | |
# assumes that MYSQL_ROOT_PASSWORD and MYSQL_USER are set | |
function create_database() { | |
local DATABASE=$1 |