当前位置:网站首页>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
边栏推荐
猜你喜欢
2022 group programming ladder simulation match 1-8 are prime numbers (20 points)
浅学一下I/O流和File类文件操作
Visual programming - drawing assignment
【微服务】(十)—— 统一网关Gateway
PYMOL-note
AWS from entry to actual combat: creating accounts
Applet - canvas drawing Poster
Learn about I / O flow and file operations
2022 团体程序设计天梯赛 模拟赛 L1-7 矩阵列平移 (20 分)
深度学习笔记(二)——激活函数原理与实现
随机推荐
Code forces round # 784 (DIV. 4) solution (First AK CF (XD)
you need to be root to perform this command
2022 group programming ladder simulation match 1-8 are prime numbers (20 points)
Identifier and type conversion
Docker拉取mysql并连接
Several common methods of multithreading
Section 2 map and structure in Chapter 6
Problem C: realize Joseph Ring with linked list
C-11 problem h: treasure chest 2
Redis(17) -- Redis缓存相关问题解决
Basic use of Charles
MySQL grouping query rules
Can you answer the questions that cannot be answered with a monthly salary of 10k-20k?
MySQL query specifies that a row is sorted to the first row
Application and definition of interface
Unity games and related interview questions
JS implementation of new
. net webapi access authorization mechanism and process design (header token + redis)
Batch download of files ---- compressed and then downloaded
If statement format flow