当前位置:网站首页>centos7 中彻底卸载mysql
centos7 中彻底卸载mysql
2022-07-23 10:42:00 【Andy86666】
centos7 中彻底卸载mysql
很早之前,在centos中安装了mysql5.7,现在想要卸载掉
1、查看当前系统安装的MySQL
sudo rpm -qa| grep mysql

补充知识:
-q 是查询软件包
-a 是查询所有的软件包
2、卸载
sudo rpm -e --nodeps `sudo rpm -qa| grep mysql
补充知识:
-nodeps 是忽略依赖
3、删除目录
删除data
sudo rm -rf /var/lib/mysql
删除日志文件
sudo rm -rf /var/log/mysqld.log
删除配置文件
sudo rm -rf /etc/my.conf
rm -rf /usr/share/mysql
边栏推荐
- Full backpack!
- Error | cannot read property '_ normalized‘ of undefined
- Selenium in the crawler realizes automatic collection of CSDN bloggers' articles
- it 农民工的现状和历史
- 精品国创《少年歌行》数字藏品开售,邀你共铸少年武侠江湖梦
- Simulink simulation of ESP three-phase SVPWM controller
- Safe operation 7.22
- 7.13web safety operation
- Live classroom system 01 database table design
- airserver在哪里下载?使用方法教程
猜你喜欢

numpy和pytorch的版本对应关系

安全合理用电 收获清凉一“夏”

深度学习单图三维人脸重建

Redis布隆过滤器

581. Shortest unordered continuous subarray
![[CTFHub]JWT 的头部和有效载荷这两部分的数据是以明文形式传输的,如果其中包含了敏感信息的话,就会发生敏感信息泄露。试着找出FLAG。格式为 flag{}](/img/d0/133d628a304f5c6b5f0d514c9fe222.jpg)
[CTFHub]JWT 的头部和有效载荷这两部分的数据是以明文形式传输的,如果其中包含了敏感信息的话,就会发生敏感信息泄露。试着找出FLAG。格式为 flag{}

Multiple backpacks!

什么是服务器托管及和虚拟主机的区别

Cloud native observability tracking technology in the eyes of Baidu engineers

智头条:智装论坛将于8月4日举行,2022全屋智能销售将破100亿
随机推荐
supervisord安装使用
Postgresql快照优化Globalvis新体系分析(性能大幅增强)
如何实现多个传感器与西门子PLC之间485无线通讯?
[solve the exception] Flink uploads the jar package to the cluster environment, and the operation report does not serialize the exception
【OpenCV 例程200篇】225. 特征提取之傅里叶描述子
Byte stream & character stream of IO stream
Smart headline: smart clothing forum will be held on August 4, and the whole house smart sales will exceed 10billion in 2022
The accuracy of digital addition
Linked list review!
什么是Promise?Promise有什么好处
基于matlab的CBOC信号调制解调仿真,输出其相关性,功率谱以及频偏跟踪
深度学习单图三维人脸重建
[turn] functional area division based on poi ()
百度工程师眼中的云原生可观测性追踪技术
Matlab simulation of Turbo code error rate performance
numpy和pytorch的版本对应关系
用FFT加速特殊矩阵的矩阵向量乘运算
ClickHouse,让查询飞起来!!!
uniapp实现横向点击滑动菜单
安全作业7.22