brew最核心的一些命令
# 安装最新版本
brew install mysql
# 安装制定版本
brew install mysql@5.7
# 启动 mysql, 并设置为开机启动
brew services start mysql
# 关闭 mysql
brew services stop mysql
# 重启 mysql
brew services restart mysql
# 查看服务器【等价于launchRocket小软件】
brew services list
# 查看已安装的包【等价于Cakebrew小软件】
brew list