Skip to content
Snippets Groups Projects
Verified Commit 691c6e67 authored by David Beniamine's avatar David Beniamine
Browse files

Re-add init test db script

parent 70eb4527
Branches
Tags
No related merge requests found
#!/usr/bin/env sh
DB_NAME="${MYSQL_DATABASE}_test"
mysql -u root -p${MYSQL_ROOT_PASSWORD} -e "CREATE DATABASE IF NOT EXISTS ${DB_NAME};"
mysql -u root -p${MYSQL_ROOT_PASSWORD} -e "GRANT ALL ON ${DB_NAME}.* TO '$MYSQL_USER'@'%';"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment