linux rpm方式完全卸载mysql
2016-09-07 23:03
337 查看
转自:http://www.phpddt.com/db/linux-rpm-mysql-remove.html
因为要升级Mysql版本,在linux rpm完全卸载mysql过程如下:
1.查找安装的mysql:
[root@host ~]# rpm -qa | grep mysql
mysql-server-5.0.95-1.el5_7.1
mysql-5.0.95-1.el5_7.1
mysql-5.0.95-1.el5_7.1
2.直接删除它们:
[root@host ~]# rpm -e --nodeps mysql mysql-server
[root@host ~]# rpm -e --allmatches mysql-5.0.95-1.el5_7.1
3.查找mysql服务是否存在,并关掉。
[root@host ~]# chkconfig --del mysql
[root@host ~]# chkconfig --list | grep -i mysql
4.删除mysql文件夹,删除mysql配置文件:
[root@host ~]# rm -rf /user/local/mysql
[root@host ~]# rm -rf /etc/my.cnf
转载请注明地址: http://www.phpddt.com/db/linux-rpm-mysql-remove.html 尊重他人劳动成果就是尊重自己!
因为要升级Mysql版本,在linux rpm完全卸载mysql过程如下:
1.查找安装的mysql:
[root@host ~]# rpm -qa | grep mysql
mysql-server-5.0.95-1.el5_7.1
mysql-5.0.95-1.el5_7.1
mysql-5.0.95-1.el5_7.1
2.直接删除它们:
[root@host ~]# rpm -e --nodeps mysql mysql-server
[root@host ~]# rpm -e --allmatches mysql-5.0.95-1.el5_7.1
3.查找mysql服务是否存在,并关掉。
[root@host ~]# chkconfig --del mysql
[root@host ~]# chkconfig --list | grep -i mysql
4.删除mysql文件夹,删除mysql配置文件:
[root@host ~]# rm -rf /user/local/mysql
[root@host ~]# rm -rf /etc/my.cnf
转载请注明地址: http://www.phpddt.com/db/linux-rpm-mysql-remove.html 尊重他人劳动成果就是尊重自己!
相关文章推荐
- linux rpm方式完全卸载mysql
- linux rpm方式完全卸载mysql
- Mysql源码方式安装与完全卸载Mysql
- 1 复习ha相关 + weekend110的hive的元数据库mysql方式安装配置(完全正确配法)(CentOS版本)(包含卸载系统自带的MySQL)
- RedHat Linux下以yum方式安装Mysql5.6,修改默认的安装路径,以及完全卸载Mysql
- 完全卸载最新版mysql
- Windows下快速、简单、完全卸载MySQL
- 如何正确的完全卸载MySQL
- 如何正确的完全卸载MySQL
- 怎样完全卸载MySQL
- MYSQL完全卸载方法
- 在Windows完全卸载MySQL
- MYSQL 没有完全卸载将导致其安装不成功
- 如何正确的完全卸载MySQL
- 如何正确的完全卸载MySQL
- MySQL完全卸载
- MYSQL完全卸载步骤
- mysql服务启动不了 不能完全卸载 解决办法
- MYSQL 没有完全卸载将导致其安装不成功
- 完全卸载MYSQL