I have encountered problems with a
mysql installation on
CentOS 7. All the data is backed up, so I just want to completely erase every remnant of
mysql on the machine and then do a clean install. My attempts have not yet succeeded. Can someone show me how to do the clean re-install?
Here is what I tried so far:
systemctl status mysqld reported
mysqld was NOT installed, I tried
yum remove mysql, but it told me there was nothing to install because
mysql was already installed.
2.) I then tried
rpm -qa | grep mysql and
rpm -qa | grep mysqld before typing
rm -e $packagename for each of the results
3.) I then followed the instructions in this tutorial, but when I got to
systemctl start mysqld, the terminal "locked up" in the sense of just giving a flashing cursor on a new line that did not have a command prompt or any way to enter text. Note that I typed
systemctl start mysqld instead of
service mysqld start because this is
CentOS 7 and not
Note I also did
gedit /etc/sysconfig/selinux and set
SELINUX=disabled. Now the
systemctl start mysqld just results in a quick failure. I want to do a completely clean install and start from scratch.