Windows10下载mysql详解

mysql版本分为企业版(Enterprise)和社区版(Community),其中社区办是通过GPL协议授权的开源软件,可以免费使用,而企业版是需要收费的商业软件。

  • mysql官网 https://www.mysql.com/ ,进去点击 download
    Windows10下载mysql详解
  • 下拉滚动到最后,看到 MySQL Community Edition (GPL),点击
    Windows10下载mysql详解
  • 进去以后点击download
    Windows10下载mysql详解
  • 进入页面,滚动至最下面,看到的版本为8.0.17最新版本。一般下载的版本都为5.5,5.6,点击下图中的 Looking for previous GA versions?即可查找到以前的版本
    Windows10下载mysql详解
    Windows10下载mysql详解
    一般选择对应的位数Windows10下载mysql详解

Windows10下载mysql详解
最后会弹出个需要注册用户才能下载,直接点击下图即可不用注册
Windows10下载mysql详解
ZIP Archive 安装包是下载安装源码包安装,而 MSI Installer下载的是安装程序,两者都行。

ZIP Archive安装步骤:
先解压压缩包到指定的目录上,如下例:
Windows10下载mysql详解

  • 解压至 D:mysql5.6
  • 打开 此电脑,进入到C盘的Windows文件夹
    Windows10下载mysql详解
  • 搜索 system32,搜到到点击进入文件夹

Windows10下载mysql详解

  • 在system32的文件夹下搜索cmd

Windows10下载mysql详解

  • 找到 cmd.exe

Windows10下载mysql详解
选中右键以管理员的身份运行

切换到安装目录的bin,输入命令

cd D:mysql5.7in

再输入以下命令开始安装

mysqld -install

出现Service successfully installed 说明安装成功了