Home  >  Article  >  Database  >  MYSQL服务卸除总结_MySQL

MYSQL服务卸除总结_MySQL

WBOY
WBOYOriginal
2016-06-01 13:39:00830browse

bitsCN.com

 

系统环境信息

1 CentOS release 6.3 (Final)

2 VMware® Workstation 9.0.0 build-812388

MYSQL卸除

1 查看历史安装信息

#rpm -qa |grep -i mysql

mysql-libs-5.1.61-4.el6.i686

mysql-server-5.1.61-4.el6.i686

mysql-5.1.61-4.el6.i686

 

2 卸除MYSQL

#rpm -ev --nodeps mysql-libs-5.1.61-4.el6.i686

#rpm -ev --nodeps mysql-server-5.1.61-4.el6.i686

#rpm -ev --nodeps mysql-5.1.61-4.el6.i686

3 删除其他MYSQL开发文件和库 日志以及配置文件

#whereis mysql

mysql: /usr/lib/mysql /usr/share/mysql

#rm -rf /usr/lib/mysql

#rm -rf /usr/share/mysql

 

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn