1下载MySQL
2.安装MySQL
3.my.ini
[mysqld]
#端口号
port = 3306
#最大连接数
max_connections=200
#编码
character-set-server=utf8
default-storage-engine=INNODB
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
#skip-grant-tables
[mysql]
#编码
default-character-set=utf8
4.修改密码
use user;
update user set authentication_string=password('Wangchaozhi123@') where user='root';