Home >Database >Mysql Tutorial >卸载mysql残留_MySQL

卸载mysql残留_MySQL

WBOY
WBOYOriginal
2016-06-01 13:02:541241browse

一、在控制面板中查看是否有mysql,有则进行卸载。或运行相同版本的mysql安装文件,选择“remove”进行卸载。

二、卸载mysql后其服务仍在,解决办法:

点击“开始”-“运行”,输入cmd打开DOS窗口,输入命令“mysqld -remove”或“mysqld -nt -remove”并回车。

三、删除注册表中mysql项:

点击“开始”-“运行”,输入“regedit”打开注册表编辑器,

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL 目录删除

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\MySQL 目录删除

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL 目录删除

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\MySQL 目录删除

四、删除硬盘上mysql残留目录:

删除mysql安装目录和包含的所有文件,删除系统用户目录下mysql目录和包含的所有文件,

如“C:\Documents and Settings\All Users\Application Data\MySQL”。最好是全盘搜索“mysql”目录进行删除。

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn