安装环境:win10
1、下载zip安装包:
MySQL8.0 For Windows zip包下载地址:https://dev.mysql.com/downloads/file/?id=476233,
进入页面后可以不登录。后点击底部“No thanks, just start my download.”即可开始下载。
2、安装
2.1 解压zip包到安装目录
我的解压在了D:\mysql\mysql-8.0.11-winx64
2.2 配置环境变量
将解压文件夹下的bin路径添加到变量值中
2.3 配置初始化的my.ini文件
我们发现解压后的目录并没有my.ini文件,没关系可以自行创建。在安装根目录下添加 my.ini(新建文本文件,将文件类型改为.ini),写入基本配置:
[mysqld]
# Remove leading # and set to the amount of RAM for the most important d