Step 1: Check list the mysql rpm which is installed on server
rpm -qa | grep mysql
or
yum list installed | grep mysql
Step 2 : Removing all mysql-related packages (with “yum command”)
yum remove mysql-client mysql-server mysql-common mysql-devel
Step 3: Delete the databases folder
rm -rf /var/lib/mysql/
rm -rf /etc/my.cnf
Congratulation’s! You have successfully removes MySQL.
0 comments:
Post a Comment