MacOS 10.12.6
通过brew 安装mysql
mysql文件位于/usr/local/Cellar/mysql\@5.7/5.7.24/bin 中
从命令行和bash中提供这些功能的正确方法是什么?
谢谢!
使用以下命令给出问题的解决方案:
brew info mysql@5.7
状态:
If you need to have mysql@5.7 first in your PATH run:
echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile