meta-environment
meta-environment copied to clipboard
Provisioning fails to create databases
From a base install of VVV, running vagrant up
, wme_import_database
fails to create the meta databases that are defined in each site's vvv-init.sh
prior to attempting to import them. Defining them ahead of time in init-custom.sql
solves the issue for me.
Hmmm, wme_import_database
does try to create them, with mysql -u root --password=root -e "CREATE DATABASE IF NOT EXISTS $1;"
.
I wonder why that's failing; did you get any error messages from it?
#27 might be related.
I didn't receive any errors in the console from the CREATE
statement, just from the import telling me that it failed because the database didn't exist.
I'll check out the HTTP_HOST
fix from #27 and see if that fixes what I'm seeing.
#41 might also be related