* Fixing issue where the proper db isn't selected
This commit is contained in:
parent
4b47eca257
commit
db67caab96
@ -55,7 +55,9 @@ fi
|
|||||||
mysql -e "CREATE USER '$DATABASE_USER'@'$DATABASE_HOST' IDENTIFIED BY '$DATABASE_PASS';" \
|
mysql -e "CREATE USER '$DATABASE_USER'@'$DATABASE_HOST' IDENTIFIED BY '$DATABASE_PASS';" \
|
||||||
> $migration_logs 2>&1
|
> $migration_logs 2>&1
|
||||||
# Yet another reason to not use this in prod to setup you're database
|
# Yet another reason to not use this in prod to setup you're database
|
||||||
mysql -e "GRANT ALL PRIVILEGES ON *.* TO '$DATABASE_USER'@'$DATABASE_HOST';" \
|
mysql -e "CREATE DATABASE $DATABASE_NAME" \
|
||||||
|
>> $migration_logs 2>&1
|
||||||
|
mysql -e "GRANT ALL PRIVILEGES ON '$DATABASE_NAME'.* TO '$DATABASE_USER'@'$DATABASE_HOST';" \
|
||||||
>> $migration_logs 2>&1
|
>> $migration_logs 2>&1
|
||||||
|
|
||||||
# First we'll setup the databse that we want to use
|
# First we'll setup the databse that we want to use
|
||||||
|
Loading…
Reference in New Issue
Block a user