摘要: 1. 进入当前用户的home目录 输入cd ~ 2. 创建.bash_profile 输入touch .bash_profile 3. 编辑.bash_profile文件 输入open -e .bash_profile 4. 输入内容export PATH=$PATH:/usr/local/mysq 阅读全文