How to Uninstall mysql from Any Linux System

Uninstall MySql using following commands.

sudo apt-get remove –purge mysql*
sudo apt-get purge msql*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get dist-upgrade
sudo apt-get remove dbconfig-mysql
sudo apt-get dist-upgrade

Install MySql using following command.

sudo apt-get install mysql-server

Subscribe to newsletter and receive latest tech updates .

Advertisements

Leave a Reply

Discover more from Chandan Rajpurohit

Subscribe now to keep reading and get access to the full archive.

Continue reading