当前位置:网站首页>Completely uninstall MySQL in centos7
Completely uninstall MySQL in centos7
2022-07-23 15:21:00 【Andy86666】
centos7 Completely uninstall in mysql
A long time ago , stay centos Installed in mysql5.7, Now I want to uninstall
1、 View the currently installed MySQL
sudo rpm -qa| grep mysql

Supplementary knowledge :
-q yes Query package
-a yes Query all software packages
2、 uninstall
sudo rpm -e --nodeps `sudo rpm -qa| grep mysql
Supplementary knowledge :
-nodeps Yes ignore dependencies
3、 Delete directory
Delete data
sudo rm -rf /var/lib/mysql
Delete log file
sudo rm -rf /var/log/mysqld.log
Delete profile
sudo rm -rf /etc/my.conf
rm -rf /usr/share/mysql
边栏推荐
- Head pose estimation principle and visualization_ Loveliuzz's blog - Programmer's Homestead_ Head posture estimation
- JSD-2204-会话管理-过滤器-Day19
- NVIDIA vid2vid paper reproduction
- Unreal中通过FMonitoredProcess启动其他独立程序
- Dynamic planning - force buckle
- Safe operation 7.22
- 颜值爆表 Redis官方可视化工具来啦,针不戳
- STL map operation
- Blazor quickly realizes Minesweeper
- Simulink simulation of ESP three-phase SVPWM controller
猜你喜欢
随机推荐
BGP routing principle
Linked list review!
Full backpack!
工业物联网中的时序数据
7.13web safety operation
Redis bloom filter
Deep learning single image 3D face reconstruction
Blazor quickly realizes Minesweeper
他山之石 | 阿里多模态知识图谱探索与实践
Matlab simulation of Turbo code error rate performance
报错 | cannot read property ‘_normalized‘ of undefined
第五篇 Druid数据源介绍
[200 opencv routines] 225. Fourier descriptor for feature extraction
MariaDB 数据库升级版本
安全7.18作业
Matlab simulation of depth information extraction and target ranging based on binocular camera images
IDEA 提高效率的5大免费插件
dataframe.groupby学习资料
修改ssh命令行[[email protected]]#颜色
[heuristic divide and conquer] the inverse idea of heuristic merging








