卸载Mysql


6个月前 247次点击 来自 Linux

Completely Uninstall MySQL Server in Ubuntu

Remove MySQL Server in Ubuntu

$ sudo apt purge mysql-server* -y

MySQL Database Files and Logs

$ ls /etc/mysql
$ sudo ls /var/lib/mysql
$ sudo rm -r /etc/mysql /var/lib/mysql 
$ sudo rm -r /var/log/mysql

Remove Non-Required Packages

$ sudo apt autoremove

Made with in Shangrao,China By Devler.

Copyright © Devler 2012 - 2022

赣ICP备19009883号-1

Top ↑