Linux rpm删除MySQL
来源:互联网 发布:淘宝改版 编辑:程序博客网 时间:2024/06/18 06:41
1、查找哪些已经被安装了:
my-linux: # rpm -qa |grep -i mysql
MySQL-client-5.6.23-1.sles11.x86_64
MySQL-server-5.6.23-1.sles11.x86_64
MySQL-shared-5.6.23-1.sles11.x86_64
MySQL-devel-5.6.23-1.sles11.x86_64
2、逐个卸载:
my-linux: # rpm -e --nodeps MySQL-client-5.6.23-1.sles11.x86_64
my-linux: # rpm -e --nodeps MySQL-server-5.6.23-1.sles11.x86_64
redirecting to systemctl stop mysql.service
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
mysql 0:off 1:off 2:off 3:off 4:off 5:off 6:off
my-linux: # rpm -e --nodeps MySQL-shared-5.6.23-1.sles11.x86_64
my-linux: # rpm -e --nodeps MySQL-devel-5.6.23-1.sles11.x86_64
3、确认卸载结果:
my-linux: # rpm -qa |grep -i mysql
my-linux: #
4、删除数据文件(假设目录为:mysql):
my-linux: # rm -rf mysql
- Linux rpm删除MySQL
- rpm yum 删除mysql
- linux 安装 mysql rpm
- Linux rpm安装MySQL
- Linux rpm安装MySQL
- Linux rpm安装MySQL
- linux mysql rpm 安装
- linux rpm安装mysql
- linux rpm安装mysql
- Linux rpm安装MySQL
- Linux rpm安装MySQL
- linux 安装rpm mysql
- linux rpm安装mysql
- rpm命令|rpm安装|rpm卸载|rpm使用|rpm删除 Linux 中 RPM 命令参数使用详解
- rpm Mysql For Linux 安装
- Linux 安装RPM格式Mysql
- linux安装mysql rpm包
- Linux安装mysql.xxx.rpm
- Android截屏的简单实现
- java(优化21) httpClient使用详解
- winform项目的app.config和exe.config文件
- think中用phpmailer发送邮件教程
- 1.1_Android Training 学习笔记_建立第一个App
- Linux rpm删除MySQL
- 布局从navigation顶部开始问题
- Sublime Text3注册及汉化(支持Windows、MAC OS)
- 数据库(一)
- Dragon of Loowater
- C#实现Web文件上传的两种方法
- Android webview 底端显示白条(整行长度)解决办法
- odd-even number
- android 多媒体之 MediaStore 学习记录