Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to completely delete the Mysql 8.0 service in Linux

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article shows you how to completely delete the Mysql 8.0 service in Linux. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Please turn off the Mysql service before uninstalling

Service mysql stop

Use the rpm command to view the installed mysql

Rpm-qa | grep mysql

Start uninstalling the Mysql service

Using yum to install requires cleaning services and so on.

Yum remove mysql mysql-server mysql-libs mysql-server

Inquire again

Rpm-qa | grep mysql

Use rpm-ev + to delete the corresponding result of Mysql above

Rpm-ev mysql-community-common-8.0.17-1.el7.x86_64rpm-ev mysql80-community-release-el7-3.noarch

Use find /-name mysql to find Mysql-related directory files and delete them accordingly

Corresponding directory or file name queried by find /-name mysqlrm-rf +

Query whether there are any missing files (if so, use the corresponding delete command to delete)

Use ls to list directories to see if the installation source exists (if so, delete the corresponding files)

The Mysql in this system has been completely cleared

Extension: all are deleted. What's the difference between rpm-ev and rm-rf?

Rpm is a package manager that deletes a package for software; rm-rf deletes a directory or file.

What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.

The above content is how to completely delete the Mysql 8.0 service in Linux. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report