【MySQL】Windows 系统下 MySQL Community 8.0 安装

1、Windows 系统下 MySQL Community 8.0 安装

1.1 下载

官网地址https://www.mysql.com
1.点击DOWNLOADS
image

2.点击MySQL Community (GPL) Downloads »
image

3.点击MySQL Community Server
image

4.选择Microsoft Windows,点击Go to Download Page>

msi文件,小的为联网安装,大的离线安装
zip文件,免安装

image

5.点击Download,下载离线安装版本
image

6.点击No thanks, just start my download
image

1.2 安装

1.双击打开下载的 mysql-installer-community-8.0.29.0.msi 文件
2.选择Custom自定义安装,点击Next
image

3.选择安装的产品,移动到右边,点击该产品,点击自定义安装目录
image

4.自定义安装目录,点击ok
image

5.点击Next
image

6.点击Execute执行安装
image

7.安装完成,点击Next
image

8.点击Next
image

1.3 配置

1.点击Next
image

2.选择新的授权方式,点击Next
image

3.设置root用户密码,点击Next

密码要记得

image

4.点击Next
image

5.点击Execute执行配置
image

6.点击Finish
image

7.点击Next
image

8.点击Finish
image

1.4 配置环境变量

1.右键此电脑打开属性
image

2.点击高级系统设置
image

3.点击环境变量
image

4.找到系统变量中的Path,点击编辑
image

5.点击编辑,填入MySQL软件安装目录的bin目录,适当上移,点击确定
image

6.点击确定
image

7.点击确定
image

验证 Win+R输入cmd打开命令行,输入mysql --version
image

Windows 系统下 MySQL Community 5.x 安装

posted @ 2022-06-22 17:05  植树chen  阅读(757)  评论(0编辑  收藏  举报