How To Completely Removing MySQL Server in CentOS

 

MySQL-Database

This guide is used to re-install MySQL at CentOS (64x) if the 32x version of MySQL gets in conflict with coming updates. May be it’s good idea to backup databases before doing this.

How to uninstall MySQL server

Step 1: Check list the mysql rpm which is installed on server

mysql-list-repo

Step 2 : Remove all mysql-related packages (with “yum remove”)

remove-mysql-list

Step 3: Delete the databases folder

If you don’t know how to reinstall mysql database server, check out our tutorial here.