[mysqld]
port=3306
basedir=D:\app\mysql-5.7.27-winx64
datadir=D:\app\mysql-5.7.27-winx64\data
max_connections=200
character-set-server=utf8
default-storage-engine=INNODB
mysqld install mysql5.7
完成后打开服务看一眼有没有:
mysqld --initialize
net start mysql5.7
set password for root@localhost = password('boge');
搞定!