Homebrew 卸载后重新安装mysql

1.卸载https://blog.csdn.net/liuxw1/article/details/81434005

https://jingyan.baidu.com/article/5553fa8279c37365a2393428.html

2.需要添加环境变量echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile # 文件修改以后执行写入bash_profile以后

执行立即生效 sousers ~/.bash_profile

3.mysql.server start

posted @ 2019-09-17 17:25  星云惊蛰  阅读(1327)  评论(0)    收藏  举报