First download the installation package Click to open the link
Choose custom mode here, because my computer is 64-bit, choose x64
At this point, the installation is complete.
Add the path C:\Program Files\MySQL\MySQL Server 5.7\bin to the system variable "Path" in the environment variables
Finally, open cmd, enter mysql -u root -p, and press Enter. If the word Welcome appears, the mysql installation is successful.