最近遇到两个问题
brew升级的问题
重新安装不影响使用
1 卸载旧的brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
2 安装新的brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
本地mysql8访问的问题
mysql - uroot - p
USE mysql;
ALTER USER root@localhost IDENTIFIED WITH mysql_native_password BY '12345678';