0
0

More than 1 year has passed since last update.

Ubuntu fix mysql broken dpkg

Last updated at Posted at 2022-08-08
ps -eaf

sudo kill -9 [mysqld pid]
sudo kill -9 `sudo lsof -t -i:3306`
sudo apt-get purge mysql-server-8.0
sudo apt autoremove -y
sudo apt update
sudo apt install mysql-server
mysqld --initialize
sudo /usr/bin/mysql_secure_installation
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0