Check what is installed in mysql rpm -qa | grep -i mysql If a null value is returned, it means that mysql is not installed. If the following situation is returned, it means that mysql uninstall yum remove mysql-community-common-5.7.27-1.el7.x86_64 yum remove mysql57-community-release-el7-8.noarch yum remove mysql-community-server-5.7.27-1.el7.x86_64 yum remove mysql-community-client-5.7.27-1.el7.x86_64 yum remove mysql-community-libs-5.7.27-1.el7.x86_64 Check whether it is uninstalled cleanly rpm -qa | grep -i mysql Find the directory of mysql find / -name mysql delete rm -rf /usr/lib64/mysql rm -rf /usr/share/mysql ... Note: /etc/my.cnf will not be deleted after uninstallation and needs to be deleted manually rm -rf /etc/my.cnf Delete /var/log/mysqld.log (If you do not delete this file, the newly installed mysql will not be able to save the new password, resulting in failure to log in) rm -rf /var/log/mysqld.log This is the end of this article about how to uninstall MySQL 5.7 on CentOS 7. For more information about how to uninstall MySQL 5.7 on CentOS 7, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Windows DNS server exposed "worm-level" vulnerability, has existed for 17 years
>>: React.js framework Redux basic case detailed explanation
1: masterha_check_repl replica set error replicat...
Table of contents 1. Introduction 2. Main text 2....
This article shares the installation tutorial of ...
I always feel that designers are the most sensiti...
Table of contents Preface Introduction to Bezier ...
I searched online and found that many interviews ...
Table of contents VARCHAR and CHAR Types Conclusi...
Table of contents Achieve results Complete code +...
<style type="text/css"> Copy code ...
This article introduces blue-green deployment and...
Table of contents 1. User created script 2. Word ...
In MySQL, database garbled characters can general...
Preface Everyone knows that many sites now charge...
Preface There is a misunderstanding about the max...
Table of contents 1. Install and import 2. Define...