Shell/Bash: uninstall mariadb server and client in ubuntu 18.4 Example

By

Shell/Bash Example: This is the "uninstall mariadb server and client in ubuntu 18.4" Example. compiled from many sources on the internet by SimpleTutorials.org

uninstall mariadb server and client in ubuntu 18.4

sudo systemctl stop mysql
sudo apt-get remove --purge mysql-server mysql-client mysql-common

uninstall mariadb server and client in ubuntu 18.4

sudo apt-get autoclean
sudo rm -rf /var/lib/mysql/
sudo rm -rf /etc/mysql/

uninstall mariadb server and client in ubuntu 18.4

sudo apt-get autoremove



* Summary: This "uninstall mariadb server and client in ubuntu 18.4" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others