http://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F202005%2F08%2F20200508102713_L8aCB.jpeg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1649077062&t=40b7b14053ef546a57de4934b9442cbe",

Mysql完全卸载(Windows版本)

(1)控制面板 ---> 程序和功能 ---> 卸载MySQL Installer;

(2)删除MySQL软件安装路径下的MySQL目录,默认目录为 C:\Program Files (x86)\MySQL

(3)删除ProgramData下的MySQL数据文件目录,默认目录为 C:\ProgramData\MySQL注意:ProgramData为隐藏文件夹);

(4)打开运行  --->  输入"regedit”"   --->  删除如下注册表中MySQL相关目录(有则删除):

  a、HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL

  b、HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL

  c、HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL

  d、HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl001\Services\MySQL

  e、HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl002\Services\MySQL

  f、HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL

posted @ 2019-04-17 22:40  DeepInThought  阅读(11029)  评论(0编辑  收藏  举报