当前位置:网站首页>Complete uninstallation of MySQL under Linux

Complete uninstallation of MySQL under Linux

2022-06-11 00:44:00 A music loving programmer

1、 see mysql Installation of

command :rpm -qa | grep -i mysql

 Insert picture description here

2、 Remove the software installed above

command :rpm -ev mysql-community-libs-5.7.27-1.el6.x86_64 --nodeps

 Insert picture description here

3、 After the deletion is successful , Find related mysql The file of

command :find / -name mysql

 Insert picture description here

4、 Delete all files

command :rm -rf Fill in the found MySQL file

Such as : Here is what I found out  Insert picture description here
If I delete the last line
Carry out orders :rm -rf /usr/local/mysql
 Insert picture description here

5、 Execute command again

command :rpm -qa | grep -i mysql
 Insert picture description here

# If there is no explicit, the uninstall is complete

原网站

版权声明
本文为[A music loving programmer]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020627519512.html