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
Go to list of users who liked
More than 1 year has passed since last update.
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
Register as a new user and use Qiita more conveniently
Go to list of users who liked