macos终端直接输入mysql,报错zsh: command not found: mysql
cd ~ vim ~/.bashrc # 打开的文档中加入下面这句话 alias mysql=/usr/local/mysql/bin/mysql # 保存并退出后执行下面命令 source ~/.bashrc
执行mysql就oK了。
标签:下面,bashrc,command,mysql,found,zsh From: https://www.cnblogs.com/tuzaizi/p/16962154.html