当前位置:网站首页>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
边栏推荐
- 将新增和编辑的数据同步更新到列表
- 初鉴canvas,展示个小小的小案例
- async void 導致程序崩潰
- The filter() traverses the array, which is extremely friendly
- 7_Addmodule和基因加和法add 得到的细胞类型打分在空间上空转对比
- Wonderful review | the sixth issue of "source" - open source economy and industrial investment
- Use of Presto date function
- Start mqbroker CMD failure resolution
- Learning materials
- 数据库中的日期时间类型
猜你喜欢

Use compressorjs to compress pictures, optimize functions, and compress pictures in all formats

Introduction to servlet listener & filter

The quill editor image zooms, multiple rich text boxes are used on one page, and the quill editor upload image address is the server address

Wonderful review | the sixth issue of "source" - open source economy and industrial investment

V-model binding value in El select, data echo only displays value, not label

World Book Day: I'd like to recommend these books

How to click an object to play an animation

Record the problems encountered in using v-print

Record Alibaba cloud server mining program processing

hbuilderx + uniapp 打包ipa提交App store踩坑记
随机推荐
Metalama简介4.使用Fabric操作项目或命名空间
Learning materials
mysql支持ip访问
教你快速开发一个 狼人杀微信小程序(附源码)
These vscode extensions are my favorite
filter()遍历Array异常友好
拥抱机器视觉新蓝海,冀为好望开启数字经济发展新“冀”遇
mui 关闭其他页面,只保留首页面
Go language: passing slices between functions
AUTOSAR from introduction to mastery 100 lectures (81) - FIM of AUTOSAR Foundation
hbuilderx + uniapp 打包ipa提交App store踩坑记
100 GIS practical application cases (53) - making three-dimensional image map as the base map of urban spatial pattern analysis
Start mqbroker CMD failure resolution
AUTOSAR from introduction to mastery 100 lectures (52) - diagnosis and communication management function unit
nodeJs + websocket 循环小案例
The use of dcast and melt in R language is simple and easy to understand
V-model binding value in El select, data echo only displays value, not label
7_ The cell type scores obtained by addmodule and gene addition method are compared in space
Get the punch in record of nailing attendance machine
Recovering data with MySQL binlog