Under Win7 by decompression installation MySQL 5.7 has been the start of the unsuccessful, the online search for a long time finally found a solution, record:
1. Unzip the downloaded compressed package
2, in the decompression directory, the My-default.ini renamed to My.ini, and put My.ini into the bin directory
3, execute the command: mysqld--initialize--user=mysql--console, execute this command will generate a temporary password, log down, login need to enter this password.
4. Execute command: mysqld install, installing MySQL service
5. Execute command: net start MySQL, start MySQL service
6, execute the command: mysql-uroot-p, enter the temporary password just generated login MySQL
7, after logging in, by executing the command set password = password ('mysql'), changing the password, the string in single quotation marks is the password
Reference Address: http://www.oschina.net/question/1244397_2138435
Win7 the method of installing MySQL