windows下MySQL免安装版 配置方法
第一步:从mysql官网下载此版本的mysql文件
官网地址
在这里我们选直接下载
第二步,解压文件
第三步,分析文件结构
mysql8.0版本的文件结构和5.7是一样的,没有提供初始化好的data文件夹,和没有提供默认的my.ini文件,这些都需要我们自己搞定了。
第四步,配置
在mysql根目录新建data文件夹
创建my.ini文件
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.
[mysqld]
#skip-grant-tables
# Re