MySQL Forums
Forum List  »  Install & Repo

Re: MySQL errors after reinstalling
Posted by: Peter Brawley
Date: December 12, 2021 02:49PM


Does this sequence or part of it obtain purchase?

sudo -i
service mysql stop
killall -KILL mysql mysqld_safe mysqld
apt-get --yes purge mysql-server mysql-client
apt-get --yes autoremove --purge
apt-get autoclean
deluser --remove-home mysql
delgroup mysql
rm -rf /etc/apparmor.d/abstractions/mysql 
  /etc/mysql /var/lib/mysql rm -rf 
  /etc/mysql /var/lib/mysql /var/log/mysql* 
  /var/run/mysqld updatedb

... or this? ...
sudo systemctl stop mysql
sudo apt purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysql
sudo apt autoremove
sudo apt autoclean

Options: ReplyQuote

Written By
December 12, 2021 02:27AM
Re: MySQL errors after reinstalling
December 12, 2021 02:49PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.