Put AMPPS MySQL in PATH environment and all should be fine.
export PATH=$PATH:/Applications/AMPPS/mysql/bin
Question
I'm beginning to use Grunt.js to manage my workflow for repeated tasks and right now I'm stuck on database deployment (a huge source of potential errors for me).
I've installed the grunt-deployment package and I can pull down the remote database, as well as push to it (theoretically). However locally I get the error:
/bin/sh: mysql: command not found
Or
/bin/sh: mysqldump: command not found
I'm not sure where I should be adding those commands, or how. I'm also using AMPPS for my local development.
The environment I'm in is Mac OS X, using AMPPS as my apache/mysql server.
Solution
Put AMPPS MySQL in PATH environment and all should be fine.
export PATH=$PATH:/Applications/AMPPS/mysql/bin