Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-01 13:32:29
Original
960 people have browsed it

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
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template