Windows下安装MySQL
MySQL官网下载地址
下载MySQL安装文件
在下载页面中Select Platform
选择Microsoft Windows
, 然后在下方的下载选项中选择点击第一个Downloads
下载:

跳转到另一个个页面后点击左下角No thanks, just start my download.
:

开始下载。下载后得到一个.zip文件。将其解压得到类似mysql-8.0.17-winx64
这样的文件夹。
将得到的文件夹放入C盘中的DB文件夹中(这里的DB为新建文件夹)得到mysql安装路径为C:\DB\mysql-8.0.17-winx64