welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 167 forks source link

mysqldump: Got error: 2003: Can't connect to MySQL server on '127.0.0.1 #451

Closed Ebeldev closed 6 years ago

Ebeldev commented 6 years ago

Hi,

I'm trying to work with Wordmove and when i push using the "Wordmove push --all", i get only one error that I just can't get it to work. It's in the last step, connection with my local mysql. I'm on a mac with MAMP.

mysqldump: Got error: 2003: Can't connect to MySQL server on '127.0.0.1' (61) when trying to connect

Any idea why? or how to solve this?

Cheers,

alessandro-fazzi commented 6 years ago

Hi,

Wordmove simply runs mysqldump from your $PATH. You should first check if you can connect to your DB using mysqldump in your terminal.

Possible scenarios are:

alessandro-fazzi commented 6 years ago

Feel free to reopen if you have something to deepen.