当前位置:网站首页>MySQL is completely uninstalled and MySQL service is cleaned up
MySQL is completely uninstalled and MySQL service is cleaned up
2022-04-23 03:31:00 【Jack_ joker】
Mode one
Open the control panel , uninstall MySQL;
Then delete the... In the installation directory MySQL file ,eg:C:\JavaDev\MySQL\mysql-8.0.28-winx64;
Delete hidden files ProgramData Under the MySQL, Delete the whole ;
How to view hidden files : see ProgramData file ,windows10 Click to view and check the hidden file ;

At this time, the uninstall is complete
Problems arise , Not unloaded clean mysql service , Shortcut key win+r, Input services.msc; Looking at the service, you can see a mysql service , This indicates that the service was not uninstalled cleanly ;
stay cmd Lower command panel , Input sc query mysql Be able to view information about MySQL Service information ;
Some articles suggest sc delete mysql You can do that. mysql Delete the service , I tried , It didn't work , If you're in the same situation as me , Try the following ;
How to delete mysql Service? ,win+r Shortcut key , Input regedit, Open the registry ;
see HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Control/MySQL, Whole handle MySQL File deletion ;
see HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/MySQL, ditto , take MySQL Delete the whole file ;
Then open the cmd Command Panel , Input net stop mysql, Out of Service , Input again sc delete mysql Delete service ;
Here we are mysql Service tips ( Failed to read description , Error code 2); Confirm again that you have installed MySQL Delete and ProgramData Under the MySQL Delete clean ;
Then came the point , Restart your computer , You'll find that mysql The service is gone , At this time, it means that you have all MySQL The residue is unloaded clean ;
You can do it again MySQL Installation ;
Mode two :
This method is relatively simple , If you follow MySQL Of msi Installation files are installed all the way down , And keep msi file ;
Rerun msi file , Click on remove MySQL; Start mysql The uninstall program for ;
Then just like above , But it's concise , Just delete mysql Installation directory ,eg:C:\JavaDev\MySQL\mysql-8.0.28-winx64;
Then delete the hidden folder ProgramData Under the MySQL file ;
OK, Be accomplished , Successfully uninstalled mysql, You can do it again mysql Installation .
版权声明
本文为[Jack_ joker]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220607497280.html
边栏推荐
- Explication détaillée des fonctions send () et recv () du programme Socket
- JS calculates the display date according to the time
- Design and implementation of redis (5): master-slave replication strategy and optimization
- Do you really understand hashcode and equals???
- 数据库表中不建索引,在插入数据时,通过sql语句防止重复添加(转载)
- PYMOL-note
- L3-011 direct attack Huanglong (30 points)
- Problem C: realize Joseph Ring with linked list
- JS implementation of new
- Chapter 9 of C language programming (fifth edition of Tan Haoqiang) analysis and answer of exercises for users to establish their own data types
猜你喜欢

MySQL索引详解【B+Tree索引、哈希索引、全文索引、覆盖索引】

Design and implementation of redis (3): persistence strategy RDB, AOF

Visual programming - Experiment 1

Applet - WXS

QT dynamic translation of Chinese and English languages

Design and implementation of redis (5): master-slave replication strategy and optimization

Deep learning notes (II) -- principle and implementation of activation function

Unity basics 2

IDEA查看历史记录【文件历史和项目历史】

2022 团体程序设计天梯赛 模拟赛 L2-3 浪漫侧影 (25 分)
随机推荐
PWA I'm here
数据库表中不建索引,在插入数据时,通过sql语句防止重复添加(转载)
Supersocket is Use in net5 - concept
Generate QR code through zxing
Several common methods of multithreading
Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
When migrating tslib_ setup: No such file or directory、ts_ open: No such file or director
Supersocket is Use in net5 - startup
Common exceptions
"Visual programming" test paper
Identifier and type conversion
Using jsonserialize to realize data type conversion gracefully
Design and implementation of redis (3): persistence strategy RDB, AOF
Code forces round # 784 (DIV. 4) solution (First AK CF (XD)
关于idea调试模式下启动特别慢的优化
2022 group programming ladder simulation match 1-8 are prime numbers (20 points)
Téléchargement en vrac de fichiers - téléchargement après compression
Unity knowledge points (ugui 2)
What to pay attention to when writing the first code
socket编程 send()与 recv()函数详解