Linux how to completely uninstall MySQL database

1 First, check to see if there are current Linux MySQL

rpm -qa | grep mysql

Here Insert Picture Description
Mysql5 a look at does have a database
that we now uninstall it

rpm -e --nodeps mysql-libs

Use the command again to see if there MySQ database

rpm -qa | grep mysql

Here Insert Picture Description
So far uninstall clean.

Published 109 original articles · won praise 56 · views 5693

Guess you like

Origin blog.csdn.net/zhang6132326/article/details/104825755