I'm trying to import a database locally using wp db import databasename.sql
but I get the following error: env: mysql: No such file or directory
. Can anyone tell me how to resolve this?
The above didn't help me. I fixed it by adding this to my .bash_profile
:
export PATH=$PATH:/Applications/MAMP/Library/bin/