环境搭建
使用Scoop安装和配置MySQL
# 安装MySQL
scoop install mysql
# 安装MySQL服务
mysqld -install
# 启动MySQL服务
net start mysql
# 连接MySQL,初始密码为空
mysql -u root -p
# 修改密码
ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';
# 安装MySQL
scoop install mysql
# 安装MySQL服务
mysqld -install
# 启动MySQL服务
net start mysql
# 连接MySQL,初始密码为空
mysql -u root -p
# 修改密码
ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';