Get the App
SLTechnology News&Howtos  ›  Database  › 

Unbuntu completely deletes the case of mysql

Shulou Source: shulou.com Published: 2022-06-01 02:55:24 09月25日 Update

Xiaobian to share with you the case of unbuntu completely deleting mysql, I believe most people still do not know much, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's find out together!

Methods: 1. Use the command "sudo apt-get remove mysql-common" to uninstall mysql;2. Use "dpkg -l"| grep ^rc| awk '{print$2}'| sudo xargs dpkg -P"Clear residual data.

First check MySQL dependencies in the terminal: dpkg --list| grep mysql

uninstall: sudo apt-get remove mysql-common

uninstall: sudo apt-get autoremove --purge mysql-server-5.7

Clear residual data: dpkg -l| grep ^rc| awk '{print$2}'| sudo xargs dpkg -P

Check MySQL's remaining dependencies again: dpkg --list| grep mysql

Continue to delete the remaining dependencies, such as sudo apt-get autoremove --purge mysql-apt-config

So far, there are no MySQL dependencies, completely deleted, Good Luck

The above is unbuntu completely delete mysql case all the content, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Tags: Cases content data articles surplus residue not so much again commands most methods more knowledge terminals so far industry information information channels channels references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Redmi Microsoft NVidia Shulou Tech Info