Uninstall OR Remove MySQL 8 from Linux Ubuntu [Step-by-Step]

Описание к видео Uninstall OR Remove MySQL 8 from Linux Ubuntu [Step-by-Step]

Uninstall MySQL completely from Linux Ubuntu 20.04 operating system. Though, I've used Linux Ubuntu 20.04LTS, the steps in this video will work on from Ubuntu 18.04LTS to Ubuntu 21.10 (Latest release). Once MySQL uninstall on Ubuntu is complete, and you want to install it again, checkout my another video tutorial where I've covered MySQL 8 installation on Linux Ubuntu 20.04 step-by-step. Here is the link:    • Install MySQL 8.0.28 on Linux Ubuntu ...  

The command used in this tutorial are as following,
MySQL 8 database export/backup command *
sudo mysqldump -u root -p --all-databases > /home/pradnyankur/Desktop/alldb.sql
Purge or remove all MySQL packages command *
sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
Remove MySQL 8 database files & folder command *
sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysql
MySQL 8 database import/restore command *
sudo mysql -u root -p < /home/pradnyankur/Desktop/alldb.sql

Chapters #

0:00 Introduction
0:51 Backup or Export MySQL databases in Linux Ubuntu
04:14 Stop MySQL server instance in Ubuntu operating system
05:00 Purge or remove all MySQL packages in Linux Ubuntu OS
06:05 Delete all MySQL files & folders Ubuntu 20.04LTS
06:46 Remove and Clean MySQL packages Ubuntu 20.04LTS
07:33 Restore or Import databases in MySQL in Linux Ubuntu
10:29 End message, ask questions, like & subscribe

#Linux #Ubuntu #MySQL #Uninstall #Remove #Database #PnTutorials

Комментарии

Информация по комментариям в разработке