1.解压
2.把mysql的路径加入系统path
3.在mysql目录下,新建文件my.ini,设置basedir,datadir,port,比如:
[mysqld]
port=3306
basedir="F:\program\mysql-5.7.19-winx64"
datadir="F:\program\mysql-5.7.19-winx64\data"
max_connections=1000
character-set-server=utf8
default-storage-engine=INNODB
lower_case_table_names = 1
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
skip-grant-tables
[client]
port=3default-character-set=utf8sql]