Open dashaluna opened 9 years ago
@Japh pinging about this given you're maintaining the repo now ;) This is still the case. Let me know if it can be fixed :) Thanks!
Thanks, @dashaluna! Seems like perhaps there's a race condition of some kind where the MySQL service is starting before the DBs are mounted. Does this also happen just when you restart the VM with a vagrant reload
?
Doesn't look like that's the issue to me. The Customfile
is loaded in the Vagrantfile
, so should all be setup before you get that far, I would've thought.
@Japh just checked, doesn't work with vagrant reload
either i.e. I had to go and restart the mysql service and then it worked.
So, I've mapped databases to preserve them between each destroy, as specified in the instructions under the Localize Your Environment
However, whenever I restart mac and start a VM again, the DBs don't seem to be mounted automatically. I have to do the following to make them work:
vagrant ssh
sudo service mysql restart
And only then they seem to appear. Is that correct? Am I missing something in configuration?