Completely Remove MySQL 5.7 from Ubuntu 20.04 LTS | How to Uninstall MySQL 5.7 on Ubuntu 20.04 LTS

Опубликовано: 30 Сентябрь 2024
на канале: DevOps Hint
16,032
117

In this Video , We are going to cover How to Uninstall MySQL 5.7 on Ubuntu 20.04 LTS Step by Step or any Cloud Instance like Amazon EC2, Azure VM, Google Compute Engine,etc. with preinstalled MySQL 5.7 and Ubuntu 20.04.
#removemysql #uninstallmysql #mysql
==========================================================
Udemy Courses at Just Rs. 455 : https://bit.ly/2XAJBdc
==========================================================
First Uninstall MySQL package using below command.

$ sudo apt-get remove --purge mysql-server mysql-client mysql-common




It asks to remove data directories, if you want to remove, Enter on Yes button.


To clean local apt pacakges.

$ sudo apt-get autoclean

By default mysql stores MySQL data files at /var/lib/mysql location. Run below commands to remove mysql backup files if you don’t need.

$ sudo rm -rf /var/lib/mysql


If you likes our video, please subscribe our channel on YouTube, like our page on FB and Follow on Twitter
You can connect us on facebook,Twitter and youtube

Facebook -   / fosstechnix  
Twitter -   / ftechnix  
Youtube - https://www.youtube.com/channel/UC9AL...