Win7完全卸载MySQL的步骤
1 停止MySQL服务
2 控制面板-卸载程序,卸载所有的MySQL组件
3 找到MySQL安装目录并删除
比如我的相关安装路径为:
D:\Program Files\MySQL
D:\ProgramData\MySQL
4找到其他MySQL所在的目录(用mysql作为关键字对整台电脑进行搜索)并删除:
C:\Users\zhenghaishu\AppData\Roaming\MySQL
C:\Users\zhenghaishu\AppData\Local\Temp\MySQL Workbench
C:\Users\zhenghaishu\AppData\Roaming\Oracle\MySQL Notifier
5 查看注册表,若存在下列三项则删除
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Application/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Application/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Application/MySQL