Completely remove mysql 5.7

17,564

Try this:

sudo apt purge mysql-*

Afterwards run:

sudo apt autoremove

To install MySQL again follow guide here.

Share:
17,564

Related videos on Youtube

Simon
Author by

Simon

Learn, learn, learn...

Updated on September 18, 2022

Comments

  • Simon
    Simon over 1 year

    I have Ubuntu 18.04. I want to completely remove MySql server with all the files and folders.

    I've tried Synaptic Packet Manager, but since there are some error packets, I can't do it using that. What command should I use in Terminal for complete cleaning? Will I then be able to install everything again and then to work again?

    ps. I installed full LAMP using tasksel, I hope it won't influence on that