-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem pulling database #98
Comments
Hi :) You said that everything pull successfully, so I assume that files are correctly moved between Vagrant and your machine. If this is the case probably the problem is not related to Vagrant. Moreover the error you are getting seems to be related to you local environment. The first thing I'll try to understand where lays the problem is to check if you can login to your local mysql instance. Are you able to login to mysql from command line?
Another question: the |
I think my issue is a fundamental misunderstanding of how Vagrant/VirtualBox works. I thought that Nginx on the VirtualBox would handle the sql db, right? Why would I need mysql running in my local OSX environment? Sure enough, installing mysql and running So it seems that Wordmove is attempting to interact with my local install of mysql rather than Nginx on the VirtualBox. I have some good error messages and a good path to go down. I think I might be able to bang my head against the table a bit longer and figure this out. And if not, as you said, it looks like an issue with my OSX and Vagrant configuration, not Wordmove. Thanks for helping me out! |
:) No problem. My guess is that what you want to achieve is using Vagrant as your local development environment with a remote production server on {put-your-hosting-here}. If this is the case, just install Wordmove in the Vagrant machine ( and use it from there ), instead that on you laptop, and you should be ready to go! :) This way pulling the website would use nginx and mysql of the Vagrant box. Good luck, |
ah! the missing link. |
So, everything will pull successfully via rsync except the database.
I'm using VVV via Vagrant/VirtualBox to get WordPress up. VVV uses Ubuntu/Nginx.
Upon initially running Wordmove, I get this error:
Ok... So then I
brew install mysql
, perhaps naively.I've double checked the Movefile against wp-config.php to ensure that it's using the proper credentials. Here's what we have.
Movefile:
wp-config.php:
I have a feeling the issue is that wordmove can't figure out how to edit the Vagrant instance Nginx, but I haven't the faintest clue how to get there. Any ideas?
The text was updated successfully, but these errors were encountered: