当前位置:网站首页>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
边栏推荐
猜你喜欢

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

IO流之 字节流 & 字符流

Simulation of synchronization performance of BOC modulation and demodulation based on MATLAB, output tracking curve and identification curve under different lead lag code distance

多项式承诺Polynomial commitment方案汇总

Safe operation 7.22

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

numpy和pytorch的版本对应关系

Monotonous stack!!!

152. Product maximum subarray

MySQL的大心脏 — 索引
随机推荐
PostgreSQL has no NVL solution. PostgreSQL queries all tables
The current situation and history of it migrant workers
CBOC signal modulation and demodulation simulation based on MATLAB, output its correlation, power spectrum and frequency offset tracking
supervisord安装使用
js判断元素是否到滚动到顶部
Live classroom system 03 supplement model class and entity
粒子边界碰撞的处理
Simulation of BOC modulation signal acquisition based on MATLAB
it 农民工的现状和历史
The official redis visualization tool is coming. The needle doesn't poke
Start other independent programs through fmmonitoredprocess in unreal
go : gin Urlencoded 格式
基于matlab的CBOC信号调制解调仿真,输出其相关性,功率谱以及频偏跟踪
494. Objectives and
如何实现多个传感器与西门子PLC之间485无线通讯?
Kettle implémente une connexion de base de données partagée et insère une instance de composant de mise à jour
Smart headline: smart clothing forum will be held on August 4, and the whole house smart sales will exceed 10billion in 2022
c语言:深度刨析const关键字
如何实现多个传感器与西门子PLC之间485无线通讯?
MySQL的大心脏 — 索引