1.卸载https://blog.youkuaiyun.com/liuxw1/article/details/81434005
2.需要添加环境变量echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile # 文件修改以后执行写入bash_profile以后
执行立即生效 sousers ~/.bash_profile
3.mysql.server start
1.卸载https://blog.youkuaiyun.com/liuxw1/article/details/81434005
2.需要添加环境变量echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile # 文件修改以后执行写入bash_profile以后
执行立即生效 sousers ~/.bash_profile
3.mysql.server start
转载于:https://www.cnblogs.com/jzxy/p/11535579.html