
Answer
query and list the rpm packages on MariaDBrpm -qa | grep "MariaDB"
Go to the location of Repositories and check for the MariaDB repocd /etc/yum.repos.d/
Disable mariaDB if repo is present or else skip 2 and 3 steps.yum-config-manager --disable
MariaDB
Remove the MariaDB rpm packagesyum remove "MariaDB*" -y
Remove forcefully the configuration of MariaDBrm -rf /etc/my.cnf
Remove Data Directoryrm -rf /var/lib/mysql
search for the mysql user in the /etc/passwd location.grep mysql /etc/passwd
Delete the user mysql using the below command.userdel -r mysql
Check whether could you login to the MariaDB.If it says like no such file or directory ,its Ok.mysql -u root -p
check the status of MariaDB ,If it throws no command is found ,then we have successfully removed MariaDB completely On CentOS 7.6systemctl status mariadb
Thus the procedure comes to end.

How To Completely Remove MariaDB package On CentOS 7.6
Hello,I am novice to CentOS 7.6.I just want to know how to delete the MAriaDB package completely On CentOS 7.6.What are the files to be deleted?