meta-environment icon indicating copy to clipboard operation
meta-environment copied to clipboard

Provisioning fails to create databases

Open morganestes opened this issue 8 years ago • 4 comments

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.

morganestes avatar Dec 03 '15 18:12 morganestes

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?

iandunn avatar Dec 08 '15 21:12 iandunn

#27 might be related.

iandunn avatar Dec 08 '15 21:12 iandunn

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.

morganestes avatar Dec 09 '15 17:12 morganestes

#41 might also be related

iandunn avatar Dec 16 '15 21:12 iandunn