download
https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.27-winx64.zip
Decompression
initialization
Create a data directory
E:\wupeiqi\mysql-5.7.16-winx64\mysql-5.7.16-winx64\bin\mysqld --initialize-insecure
遇到的错误:mysqld: Could not create or access the registry key needed for the MySQL application to log to the Windows EventLog. Run the application with sufficient privileges once to create the key, add the key manually, or turn off
logging for that application.
解决方法:以管理员身份运行cmd
Adding environment variables:
Right My Computer - Properties - Advanced System Properties - Advanced - Environment Variables - (double-click) path --- New