vi ~/.zshrc // open the zsh config and edite export PATH=${PATH}:/usr/local/mysql/bin/ // to add these words source ~/.zshrc // make it work