mysql
brew install mysql 版本8.0.23
一、配置文件位置
/usr/local/etc
二、启动方式
brew services start mysql 启动
brew services restart mysql 重启
三、安装后本地登录root没有密码决绝方式
在配置文件中添加
skip-grant-tables // 进行免密码登录
// mysql下面的用户信息存在 表 mysql
// 查询原有数据
select host,user,authentication_string,plugin from user;