1Add mysql path to executable path
2# echo 'export
3PATH=$PATH:/Applications/MAMP/Library/bin' >> ~/.bash_profile
1vi ~/.zshrc // open the zsh config and edite
2export PATH=${PATH}:/usr/local/mysql/bin/ // to add these words
3source ~/.zshrc // make it work