Unzip the Mysql-5.7.10-winx64.zip and copy the folder to the C:\Program files\ path (you can also place it anywhere else);
Configure the environment variable, select Path, and add the following: The path to your MySQL bin folder (e.g. C:\Program files\mysql-5.7.10-winx64 \ Bin);
Modify the MySQL configuration file C:\Program Files\mysql-5.7.10-winx64\my-default.ini, and modify the following location:
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7A/8E/wKiom1asahrQvOR3AAC8AL6mKCA191.png "title=" QQ picture 20160130154442.png "alt=" Wkiom1asahrqvor3aac8al6mkca191.png "/>
Run cmd as administrator (be sure to run as administrator, or not enough), and run mysqld--initialize-insercure to generate the root user without password in the bin folder of MySQL, at C:\Program files\ Mysql-5.7.10-winx64 will generate the data directory, such as the other MySQL version of the path already exists in the data directory, you do not need to execute this name to generate data, and then run Mysqld-install, prompting "Service Successfully installed. " ;
After the installation is successful, start the service and continue to enter the net start MySQL in cmd;
After the service starts successfully, it can login, enter Mysql-u root-p return, do not need password;
Run set PASSWORD for ' root ' @ ' localhost ' = PASSWORD (' 123456 '), and change the root password to "123456".
This article from "Today's efforts, tomorrow's success!" "Blog, be sure to keep this provenance http://zhzhgo.blog.51cto.com/10497096/1740041
Mysql 5.7.10 Decompression Installation Summary