getdave / grunt-deployments

MYSQL database deployments using GruntJS
MIT License
72 stars 34 forks source link

mysqldump #68

Open lid3rs opened 9 years ago

lid3rs commented 9 years ago

mysqldump returns 'bash: mysqldump: command not found', but launching it directly on server works well.

stuartjnelson commented 9 years ago

Im getting the same issue. For me I wondered if it was because I'm using MAMP Pro and mySQL install is located in a different place?

stuartjnelson commented 9 years ago

I fixed my problem. It was what I suspected and I just needed to update my .bash-profile — Because I use MAMP Pro, mySQL is not in the standard location. So I just added this to my .bash-profile;

export PATH=/Applications/MAMP/Library/bin:$PATH

lid3rs commented 9 years ago

Yes, looks like it is not the programm error, it is about path of mysqldump. Case can be closed or left here for others.