rodrigosantosbr

Remove Mysql and all databases on Ubuntu

Oct 8th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

remove all MySQL packages:

sudo apt-get remove --purge mysql-server mysql-client mysql-common -y
sudo apt-get autoremove -y
sudo apt-get autoclean

Remove the MySQL folder:

sudo rm -rf /etc/mysql
Add Comment
Please, Sign In to add comment