Home  >  Article  >  Database  >  Learn more about completely uninstalling mysql under Linux

Learn more about completely uninstalling mysql under Linux

零下一度
零下一度Original
2017-04-27 09:37:211613browse

This article mainly introduces how to completely uninstall the database under Linux. Interested friends can refer to it

1. Check the mysql installation

rpm -qa|grep-i mysql

2. Remove Previously installed

rpm -ev mysql-5.1.73-8.el6_8.x86_64 --nodeps

3. Find the directory of the old version and delete the file And library

find / -name mysql<br><img src="https://img.php.cn/upload/article/000/001/506/b30bf110cf1cd1a45eea5b1cae54d0f4-2.png" alt=""><br>

##4 .Retest

Use the

find / -name mysql command to retest. If there is no problem, you can reinstall it.

The above is the detailed content of Learn more about completely uninstalling mysql under Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn