这里写自定义目录标题 安装homebrew安装及配置Mysql 安装homebrew /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 安装及配置Mysql 安装Mysql brew install mysql 安装完后启动mysql mysql.server start 安全配置(设置密码、权限) mysql_secure_installation 登陆Mysql mysql -u root -p