I actually run vagrant reload --provision
at my first attempt. Anyway, I managed to get the database working be reloading vagrant yet again.
Unfortunately, another obstacle has come up. I have two sites added to my group_vars/development
file. It appears that the second defined database overrides the first one so, in consequence, I end up with two wordpress installs, but only with one database - the one that was defined last.
To be clearer, my configuration of databases look like this:
First site:
env: wp_home: http://tarasiewicz.local wp_siteurl: http://tarasiewicz.local/wp wp_env: development db_name: tarasiewicz_local db_user: luqo33 db_password: bonzo86
Second site:
env:
wp_home: http://cpkg.local
wp_siteurl: http://cpkg.local/wp
wp_env: development
db_name: cpkg_local
db_user: luqo33
db_password: bonzo86
After provisioning the VM, only cpkg_local
is present when I log in to mysql from the VM. tarasiewicz.local
install does not have its database.
Why do I experience this issue? I would once again welcome your advice.