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