grunt-deployments icon indicating copy to clipboard operation
grunt-deployments copied to clipboard

mysqldump

Open lid3rs opened this issue 10 years ago • 3 comments

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

lid3rs avatar Oct 11 '15 19:10 lid3rs

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 avatar Oct 16 '15 16:10 stuartjnelson

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

stuartjnelson avatar Oct 19 '15 16:10 stuartjnelson

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

lid3rs avatar Oct 20 '15 10:10 lid3rs