If you need to reinstall Mysql in special circumstances, you should do the following: 1. if the previous database still needs to be used, you should back up the entire Mysql directory after stopping mysql. the command to stop mysql is as follows: Netstopmysql2. Delete Mysql from Add/Delete. To prevent cleanup, run the following command: SCdeleteMysql and delete
If you need to reinstall Mysql in special circumstances, you should do the following: 1. if the previous database still needs to be used, you should back up the entire Mysql directory after stopping mysql. the command to stop mysql is as follows: Net stop mysql 2. delete Mysql from Add/delete operations. To prevent cleanup, run the following command: SC delete Mysql and delete
If you need to reinstall Mysql in special circumstances, you should do the following:
1. If the previous database still needs to be used, you should back up the entire Mysql directory after stopping mysql.
The command to stop mysql is as follows:
Net stop mysql
2. Delete Mysql from Add/delete operations. To prevent non-clean deletion, run the following command:
SC delete Mysql
Then delete the Registry
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services
If this item is not available, you do not need to delete it.
3. delete or rename the original mysql installation directory and Data directory.
4. Restart the server.
5. Follow the video to install Mysql step by step. After the installation, the self-check will show that Mysql is normal.
Note: If you have tried the above methods, we recommend that you install MySQL and download it from the off-star download center. remember to select the correct DATA directory during installation. It is installed on drive C: \ Documents and Settings \ All Users \ Application Data \ MySQL Server 5.1 \ by default \), required. if you need to reinstall Mysql in special circumstances, you should do the following:
1. If the previous database still needs to be used, you should back up the entire Mysql directory after stopping mysql.
The command to stop mysql is as follows:
Net stop mysql
2. Delete Mysql from Add/delete operations. To prevent non-clean deletion, run the following command:
SC delete Mysql
Then delete the Registry
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services
If this item is not available, you do not need to delete it.
3. delete or rename the original mysql installation directory and Data directory.
4. Restart the server.
5. Follow the video to install Mysql step by step. After the installation, the self-check will show that Mysql is normal.
Note: If you have tried the above methods, we recommend that you install MySQL and download it from the off-star download center. remember to select the correct DATA directory during installation. It is installed on drive C: \ Documents and Settings \ All Users \ Application Data \ MySQL Server 5.1 \ by default \), required.