To uninstall the installed part
, first execute the check command to see what has been transferred:
rpm -qa |grep -i mysql
Start uninstallation
Execute the uninstall command: yum remove mysql-community mysql-community-server mysql-community-libs
mysql -community-common
check the uninstallation remnants
Check if the uninstallation is clean: rpm -qa |grep -i mysql
uninstallation remnants
Uninstall the parts that were not uninstalled just now: yum remove mysql-community-release
Ultimate check Check
again: rpm -qa |grep -i mysql, the installation part has been completely uninstalled.
Clean up the file to
view the mysql file directory: find / -name mysql.
Delete the file: rm -rf /usr/share/mysql.
Uninstall mysql under CentOS7
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326058886&siteId=291194637
Recommended
Ranking