1.解压
2.my.ini
basedir = C:\mysql-5.7.17-winx64
datadir = C:\mysql-5.7.17-winx64\data
port = 3306
4.安全模式
--defaults-file="E:\mysql\my.ini" --console --skip-grant-tables
3.授权 ALTER USER 'root'@'%' IDENTIFIED BY 'pwd';
1.解压
2.my.ini
basedir = C:\mysql-5.7.17-winx64
datadir = C:\mysql-5.7.17-winx64\data
port = 3306
4.安全模式
--defaults-file="E:\mysql\my.ini" --console --skip-grant-tables
3.授权 ALTER USER 'root'@'%' IDENTIFIED BY 'pwd';