Mac-后端开发环境搭建

2023-08-25 08:10:40 浏览数 (1)

brew安装

代码语言:javascript复制
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

MySQL

代码语言:javascript复制
brew install mysql@5.7
echo 'export PATH="/opt/homebrew/opt/mysql@5.7/bin:$PATH"' >> ~/.zshrc

# 重开窗口
mysql.server start
mysql -u root
use mysql;
alter USER root@localhost IDENTIFIED BY 'root123';

Redis

0 人点赞