Completely remove MariaDB or MySQL from CentOS 7 or RHEL 7
These steps are working on CentOS 6.5 so they should work on CentOS 7 too: (EDIT – exactly the same steps work for MariaDB 10.3 on CentOS 8) yum remove mariadb mariadb-server rm -rf /var/lib/mysql If your datadir in /etc/my.cnf points to a different directory, remove that directory instead of /var/lib/mysql rm /etc/my.cnf the file … Read more