zsh: command not found: mysql

查看mysql進程mysql

ps -ef|grep mysql 

一、打開終端。輸入open .zshrc 

二、找到# User configuration部分,在下一行添加source ~/.bash_profile,以後保存退出此文檔

三、在終端輸入 source .zshrc 使之生效。

相關文章
相關標籤/搜索