1. Download the MySQL decompression version (mysql-5.7.17-winx64.zip) on the official website;
2. After decompression, add the configuration Windows environment variable path;
3. Enable MYSQLD--install installation Service
4.net Start MySQL startup service
5. Error system cannot find the specified file 2 Balabala ...
6. Modify the My-default.ini comment out the directory configuration and port, instead of your own. (Add data as folder)
7.net Start MySQL startup service
8. Continued error, unable to find the specified file 2 Balabala
9. Online Search says it is the registry MySQL address is incorrect, sure enough to find the service MySQL, modify iamgepath for the correct path.
10.net start MySQL Service
11. Continue error service cannot start, no report.
12. Use mysqld--console to display the startup error message, indicating that the table Mysql.user does not exist.
13. It is said that older versions 5.6 and below do not have this problem.
14. Continue to search, the official website prompts mysqld--initialize First initialize the data directory;
15.net start MySQL Service
16. Start successfully.
"MySQL" MySQL installation log records