1.下载
https://dev.mysql.com/downloads/
https://dev.mysql.com/downloads/下载地址
2.安装
1.以管理员身份 --找到文件的位置 --cd bin
2.键入命令 mysqld --initialize-insecure
3.键入命令 mysqld install
4.显示Service successfully installed. 表示安装成功
3.启动
1. 键入命令 net start mysql
2. 键入命令 mysql -hlocalhost -uroot -p
3.测试 select version(); (有分号)
4.退出 exit
4.安装成功