6 lines
166 B
Bash
6 lines
166 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -xeo pipefail
|
||
|
|
||
|
echo "CREATE DATABASE IF NOT EXISTS \`hydra\`;" | "${mysql[@]}"
|
||
|
echo "GRANT ALL ON \`hydra\`.* TO '$MYSQL_USER'@'%' ;" | "${mysql[@]}"
|