Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall MySQL completely from Ubuntu [closed]

Tags:

mysql

I have trouble uninstalling MySQL from Ubuntu. I used the following commands, it doesn't seem to help as I still find the MySQL folder in /etc directory

  1. aptitude remove mysql-client

  2. aptitude remove mysql-server

  3. aptitude remove mysql-common

Please suggest a good way to uninstall it completely and any command to check if the uninstallation was successful. Thank you!

like image 620
Sunshine Avatar asked Mar 08 '12 07:03

Sunshine


1 Answers

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

like image 177
Burhan Khalid Avatar answered Nov 04 '22 00:11

Burhan Khalid