1.官网下载 mysql文件。官网下载链接:https://dev.mysql.com/downloads/mysql/
选择mysql下载的系统版本。
此处可以下载MSI安装包,图简单的朋友可以下载,然后“下一步”安装即可。
此处下载ZIP压缩包版(这次记录ZIP压缩包安装方法)
2.解压如下:
3.修改my.ini的配置.若该解压文件夹下无my.ini文件,则新建my.ini。配置如下:
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/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.