MySQL数据库下载与安装
2020-10-26 本文已影响0人
h小吴y
中文官网:https://www.mysql.com/cn/
社区下载链接:https://dev.mysql.com/downloads/
1.进入下载页面选择:MySQL Community Downloads,点击进入。

2.选择Windows安装版下载。


3.下载完成,接下来进行安装,步骤如下:










4.添加环境变量
找到MySQL安装目录:C:\Program Files\MySQL\MySQL Server 8.0

右键点击此电脑,选择属性,点击高级系统设置

选择环境变量


新建环境变量,添加bin文件目录:C:\Program Files\MySQL\MySQL Server 8.0\bin

5.win+r,打开cmd测试是否安装成功

1.mysql -uroot -p
2.输入密码
