First step: Stop the original MySQL service, the Administrator command to open cmd, and then net stop MySQL
The second step: Back up the files of the original database, under the corresponding version directory of C:\MySQL, there is the data directory, copy this directory to another place to back up.
The third step: Run the MySQL uninstall program, you can use 360 or QQ Computer Management software Management, or Control Panel program inside to perform the uninstall.
Fourth step: Go to MySQL official website https://dev.mysql.com/downloads/installer/select Download: Mysql-installer-community-5.7.20.0.msi
Fifth Step: Choose Custom Installation Server:
The sixth step: my is win10,64 bit:
Seventh Step: Cancel the "Development components" check (because we only need to install MySQL server)
Eighth step: Press the prompt to click on Execute installation, missing Visual Studio redistributable, you can download the installation here and try again
Update for Visual C + + and Visual C + + Redistributable Package
Nineth step: Install MySQL server
Tenth step: Config Type Select "Development machine"
11th Step: After setting the root password, I canceled the boot
12th step: Click "Execute" and wait for the completion to be done.
13th step: Click Finish, the following update Catalog can be ignored. Test the connection using Heidisql.
MySQL5.5 Upgrade MySQL5.7 under Windows