http://www.mysql.com/mysql
解壓sql
my-default.ini改爲my.iniserver
[mysqld]
basedir = D:\\tool\\mysql-5.7.16-winx64
datadir = D:\\tool\\mysql-5.7.16-winx64\\data
port = 3306
max_connections=200
character-set-server=utf8
default-storage-engine=INNODB
[mysql]
default-character-set=utf8cmd
管理員身份cmdit
mysqld installio
mysqld --initialize-insecure --user=mysql變量
net start mysqlsed
mysql -u root -p 密碼空密碼
mysqladmin -u用戶名 -p舊密碼 password 新密碼word
環境變量