Uninstallation, downloading and installation of MySQL5.5 on Windows comes with an installation package

Table of contents

How to cleanly uninstall MySQL (no need to uninstall if it has not been installed before)

The first step is to close the MySQL service

 Step 2: Uninstall the mysql software

 Step 3. Delete all MySQL files in the physical location on the computer hard drive.

Step 4: Restart the computer. At this time, MySQL on your computer will be uninstalled! !

DownloadMySQL5.5

Install MySQL5.5

The first step is to open the downloaded MySQL software and run it.

Step 2: Select next

Step 3: Choose to accept

Step 4: Select custom installation--next

 Step 5: Change the installation path. However, it is not recommended for beginners to change the installation path (if you have to change the path, it is recommended to only change the hard disk. Note that there must be no Chinese characters in the path) to avoid problems during the installation process. I chose the default here. Installation path --next

Step 6. Install 

 Step 7, next

 Step 8, next--finish

 Step 9, next

 Step 10. Select detailed configuration--next

Step 11. Select the development machine--next

Step 12. Select the multifunctional database--next

Step 13, next

 Step 14, select 20--next

Step 15. It is not recommended for beginners to modify the port number--next 

Step 16. Select the last one and change it to utf8--next

Step 17. Include Bin Directory in Windows PATH must be selected! ! ! , if you forget to select, you need to manually configure the environment variables yourself --next

 Step 18: Enter the password, be sure to remember it! ! ! --next

 Step 19, Execute

 Step 20, finish

Step 21: Check whether the installation is successful


How to cleanly uninstall MySQL (no need to uninstall if it has not been installed before)

The first step is to close the MySQL service

Computer--right click--Manage--Services and Applications--Service--MySQL (your MySQL service name)--Stop

 Step 2: Uninstall the mysql software

Method 1: You can uninstall mysql in the control panel

 

 Method 2: You can use the software manager to uninstall

 Step 3. Delete all MySQL files in the physical location on the computer hard drive.

1. Uninstall and delete all the remaining files in C:\Program Files\MySQL and delete the mysql folder.

2. Delete all files in C:\ProgramData\MySQL under the C drive. If you cannot delete them, use the shredding software to shred them. The ProgramData file is hidden by default and will be visible after setting the display (usually this step is enough. If If a problem occurs during the installation process, you need to proceed 3. Delete the MySQL registry information)

3. Delete MySQL registry information

3.1 Win+R runs "regedit" --enter to open the registry

3.2 Delete the registry: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL

Step 4: Restart the computer. At this time, MySQL on your computer will be uninstalled! !

 

DownloadMySQL5.5

Method 1: Download MySQL from the official website :: MySQL Community Downloads

The first step is to click on the link to enter the official website interface MySQL :: MySQL Community Downloads

Step 2: Click Download Archives

Step 3. Click MySQL Community Server

 the fourth step,

 Method 2: Download from network disk

Link: https://pan.baidu.com/s/1yruDv7bisCoXQmd2T5dEaQ 
Extraction code: mgdk

Install MySQL5.5

The first step is to open the downloaded MySQL software and run it.

Step 2: Select next

Step 3: Choose to accept

Step 4: Select custom installation--next

 Step 5: Change the installation path. However, it is not recommended for beginners to change the installation path (if you have to change the path, it is recommended to only change the hard disk. Note that there must be no Chinese characters in the path) to avoid problems during the installation process. I chose the default here. Installation path --next

Step 6. Install 

 Step 7, next

 Step 8, next--finish

 Step 9, next

 Step 10. Select detailed configuration--next

Step 11. Select the development machine--next

Step 12. Select the multifunctional database--next

Step 13, next

 Step 14, select 20--next

Step 15. It is not recommended for beginners to modify the port number--next 

Step 16. Select the last one and change it to utf8--next

Step 17. Include Bin Directory in Windows PATH must be selected! ! ! , if you forget to select, you need to manually configure the environment variables yourself --next

 Step 18: Enter the password, be sure to remember it! ! ! --next

 Step 19, Execute

 Step 20, finish

Step 21: Check whether the installation is successful

win+R->cmd->enter->mysql -h localhost -pMySQL -u root -p

enter->Enter password

When welcome appears, the installation is successful.

Guess you like

Origin blog.csdn.net/weixin_45502414/article/details/122856315
Recommended