Home  >  Article  >  Database  >  centos下彻底删除MYSQL和重新安装MYSQL_MySQL

centos下彻底删除MYSQL和重新安装MYSQL_MySQL

WBOY
WBOYOriginal
2016-06-01 13:32:29953browse

CentOS

bitsCN.com

centos下彻底删除MYSQL和重新安装MYSQL

 

在Centos6.3上装了一个Mysql,结果mysql库被我玩丢了(这里面管理了mysql的权限)。

现在采用先彻底删除,然后重新安装Mysql.

 

1 删除Mysql

 

   yum remove  mysql mysql-server mysql-libs mysql-server;

 

    find / -name mysql 将找到的相关东西delete掉;

 

    rpm -qa|grep mysql(查询出来的东东yum remove掉)

 

2 安装Mysql

 

     yum install  mysql mysql-server mysql-libs mysql-server;

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