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