Last Updated: February 25, 2016
·
871
· zigotica

mysqldump in wp-cli under MAMP

If you're using wp-cli under MAMP, your database export class will not work properly, since it won't find mysqldump. Just add a symlink:

sudo ln -s /Applications/MAMP/Library/bin/mysqldump /usr/local/bin/mysqldump