(1)控制面板 ---> 程序和功能 ---> 卸载MySQL Installer;
(2)删除MySQL软件安装路径下的MySQL目录,默认目录为 C:Program Files (x86)MySQL ;
(3)删除ProgramData下的MySQL数据文件目录,默认目录为 C:ProgramDataMySQL (注意:ProgramData为隐藏文件夹);
(4)打开运行 ---> 输入"regedit”" ---> 删除如下注册表中MySQL相关目录(有则删除):
a、HKEY_LOCAL_MACHINESYSTEMControlSet001ServicesEventlogApplicationMySQL
b、HKEY_LOCAL_MACHINESYSTEMControlSet002ServicesEventlogApplicationMySQL
c、HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlogApplicationMySQL
d、HKEY_LOCAL_MACHINESYSTEMCurrentControl001ServicesMySQL
e、HKEY_LOCAL_MACHINESYSTEMCurrentControl002ServicesMySQL
f、HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMySQL