MySQL下载
搜狐镜像下载
http://mirrors.sohu.com/mysql/MySQL-5.7/
清华大学镜像站
https://mirrors.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-5.7/
配置文件
[mysqld]basedir=D:\web\mysql-5.7\datadir=D:\web\mysql-5.7\data\port=3306skip-grant-tables# my.ini
命令行
mysqld --install@echo 用于安装mysql
mysqld --initialize-insecure --user=mysql初始化数据文件
mysql –u root –p进入mysql服务
update mysql.user set authentication_string=password('pwd123456') where user='root' and Host = 'localhost';
flush privileges;
net stop mysqlnet start mysql
