1.下载mysql最新版本。
http://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.15-winx64.zip
2.解压到文件夹。
D:\software\mysql\mysql5.7a
将my-default.ini 复制为 my.ini
3.编辑my.ini
# These are commonly set, remove the # and set as required.
basedir ="D:/software/mysql/mysq
前言:重装win10顺带整理文件,然而装个MySQL用了我一下午,真是不值,所以写这篇来帮助大家。
一、下载
https://dev.mysql.com/downloads/mysql/
二、解压缩zip包
三、配置环境变量
(1)配置Path
(2)修改mysql-default.ini配置文件
原先的:
# These are commonly set, remove the # and set as required.# basedir = .....# datadir =