当前位置:网站首页>Mysql数据库的卸载
Mysql数据库的卸载
2022-04-23 13:06:00 【ArchieSean】
博主名取自《小羊肖恩》中的小羊肖恩,名字为:肖恩,音译为Sean,自己取的姓:阿奇,为符合我们的阅读习惯,连起来组成为ArchieSean。博主目前大三在读,志在将博客打造成为个人线上笔记的技术栈,方便自己也方便他人。如博客中有任何错误,请各位指出,谢谢大家。
上篇文章描述了mysql数据库的安装,本篇讲述一下mysql数据库的安装。
主要分为两类:
- 通过安装包安装的。
- 通过压缩包安装的。
文章目录
mysql卸载方式1
- 关闭mysql服务
- 使用控制面板卸载mysql
- 删除在c盘的隐藏文件
路径为: C:/ProgramData/ 删除掉该路径下的mysql文件夹。
MySQL卸载方式2
使用命令卸载:
- 首先在mysql的bin目录下 执行以下代码
mysqld --remove //用于卸载mysql服务
- 在mysql的安装路径下删掉mysql的文件
- 使用window+r组合键 输入regedit,打开注册表
在注册表中分别输入以下内容,看到mysql文件就删掉
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
如果这三个路径下没有mysql文件,就直接关闭注册表就行。
4. 删除C盘ProgramData目录下的mysql文件
C:\ProgramData
- 打开此电脑的管理,查找服务中还有没有mysql服务,如果有,打开cmd输入以下命令:
sc delete MySQL //这里的mysql是服务名
如果没有mysql就被干净的从计算机中卸载了。
注意
方法2适用于高版本的mysql,例如mysql8
如有任何问题,请评论留言 谢谢。
版权声明
本文为[ArchieSean]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_41964942/article/details/106028448
边栏推荐
- Mui + hbuilder + h5api simulate pop-up payment style
- Common problems of unity (1)
- CMSIS cm3 source code annotation
- decast id.var measure. Var data splitting and merging
- Mui wechat payment pit
- Nodejs + websocket cycle small case
- There is no need to crack the markdown editing tool typora
- Go language slicing operation
- Learning notes of AMBA protocol
- async void 導致程序崩潰
猜你喜欢
Navicat远程连接数据库 出现 1130- Host xxx is not allowed to connect to this MySQL server错误
31. 下一个排列
Van uploader upload picture implementation process, using native input to upload pictures
31. Next arrangement
Hbuilderx + uniapp packaging IPA submission app store stepping on the pit
AUTOSAR from introduction to mastery 100 lectures (51) - AUTOSAR network management
Nodejs + websocket cycle small case
Wonderful review | the sixth issue of "source" - open source economy and industrial investment
melt reshape decast 长数据短数据 长短转化 数据清洗 行列转化
three.js文字模糊问题
随机推荐
mui 关闭其他页面,只保留首页面
JDBC connection pool
初鉴canvas,展示个小小的小案例
Free and open source intelligent charging pile SaaS cloud platform of Internet of things
JMeter operation redis
Free and open source agricultural Internet of things cloud platform (version: 3.0.1)
decast id.var measure.var数据拆分与合并
mui + hbuilder + h5api模拟弹出支付样式
Utils of various date conversion
AUTOSAR from introduction to mastery lecture 100 (84) - Summary of UDS time parameters
[Technical Specification]: how to write technical documents?
22. Bracket generation
Design and manufacture of 51 single chip microcomputer solar charging treasure with low voltage alarm (complete code data)
8086 of x86 architecture
内核错误: No rule to make target ‘debian/canonical-certs.pem‘, needed by ‘certs/x509_certificate_list‘
three. JS text ambiguity problem
[51 single chip microcomputer traffic light simulation]
Golang implements MD5, sha256 and bcrypt encryption
Van uploader upload picture implementation process, using native input to upload pictures
After the data of El table is updated, the data in the page is not updated this$ Forceupdate() has no effect