Closed colin-marshall closed 9 years ago
Figured it out. I guess since it was sending the mysqldump command after SSH'ing to the server, I had to add the IP of the server to the allowed hosts.
Hi Colin, I have this exact issue, but I don't quite understand what you did to fix it — could you give me a hint? (Adding the IP of the server to the allowed hosts).
@toeatsteakrare in my case I had to login to my cPanel, go to the Remote MySQL page, and add the IP address of the host server to the allowed hosts. I think this essentially gives the server permission to access itself.
Hi, I get this error when trying to pull my database:
mysqldump: Got error: 1045: Access denied for user 'username'@'173.248.188.247' (using password: YES) when trying to connect
I can transfer files just fine using wordmove, it appears the database pushing and pulling is the only thing not working.
I can login to my database just fine using the exact same credentials in Sequel Pro. My webhost requires that I add access hosts for databases. Right now I just have my external IP as an access host. Is it possible that it is denying me access because the remote mysql sees a different IP when I access it through Vagrant using vvv?
Here is the output (passwords removed):