查看mysql进程 ps -ef|grep mysql 1、打开终端。输入open .zshrc 2、找到# User configuration部分,在下一行添加source ~/.bash_profile,之后保存退出此文档 3、在终端输入 source .zshrc 使之生效。 相关文章: