The story that did not disappear when I tried to delete mysql on ubuntu

Introduction

Hi everyone. This time I'm going to write a story that was not indelible If you wanted to put out the mysql. However, thank you because this article is also going to write in the memo feeling.

The end of things

(1) I thought about installing WordPress and forgot the configuration of mysql that was installed, so I decided to re-install it!

, but forgot what was installed with apt-get xxx!

② Let's erase it with a standard one for the time being.

#apt-get remove mysql

It won't disappear ...

#apt-get remove mysql-server

It won't disappear ...

#apt-get remove mariadb-server

It won't disappear ... Eh ... what the hell did I install ...

③ That's right! Let's check the package

#apt list --installed

You can use this command to find out which packages are installed! By the way, it was like this.

mysql-client-5.7/bionic-updates,bionic-security,now 5.7.32-0ubuntu0.18.04.1 amd64 [installed,auto-removable]
mysql-client-core-5.7/bionic-updates,bionic-security,now 5.7.32-0ubuntu0.18.04.1 amd64 [installed,auto-removable]
mysql-common/bionic,bionic,now 5.8+1.0.4 all [installed,auto-removable]
mysql-server-5.7/bionic-updates,bionic-security,now 5.7.32-0ubuntu0.18.04.1 amd64 [installed,auto-removable]
mysql-server-core-5.7/bionic-updates,bionic-security,now 5.7.32-0ubuntu0.18.04.1 amd64 [installed,auto-removable]

Mimi ... I can see it!

④ Let's erase it!

#apt-get remove --purge remove mysql-server-5.7

everyone! If you do it like this, you can erase it, so please try it when you are in trouble that's all.

Recommended Posts

The story that did not disappear when I tried to delete mysql on ubuntu
A story I was addicted to when getting a key that was automatically tried on MyBatis
The story that the build error did not stop when using Eclipse 2020
The story that I could not build after installing multiple Java on Windows
[JavaScript] The strongest case when I tried to summarize the parts I do not understand
Notes on errors that occur when installing the JDK and countermeasures that I have tried
A story that did not work when trying to handle events in Notification Center
I want to use screen sharing on the login screen on Ubuntu 18
The story I was addicted to when setting up STS
The story that led to solving the error because postgres did not start with docker-compose up
[It takes 3 minutes] When I tried to install VS Code on Ubuntu 18.04, it was unexpectedly easy.
[Java] I tried to make a rock-paper-scissors game that beginners can run on the console.
I tried to summarize the words that I often see in docker-compose.yml
[Gradle] The story that the class file did not exist in the jar file
The story that the DB connection and other timeouts did not time out according to the set value
Special Lecture on Multi-Scale Simulation: I tried to summarize the 5th
A note when I was addicted to converting Ubuntu on WSL1 to WSL2
What I did when the DB did not start with docker-compose up
I tried to explain the method
I tried to translate the error message when executing Eclipse (Java)
The story I wanted to unzip
Special Lecture on Multi-Scale Simulation: I tried to summarize the 8th
[Rails] A story that continued to incorrectly verify the reason why the update action did not pass (update)
I tried to display the calendar on the Eclipse console using Java.
Special Lecture on Multi-Scale Simulation: I tried to summarize the 7th
A story that I was addicted to twice with the automatic startup setting of Tomcat 8 on CentOS 8
The story of introducing Gradle as a retrofit to an existing system that did not manage packages
I tried to summarize the stumbling points when developing an Android application
[Introduction to Java] I tried to summarize the knowledge that I think is essential
[Ruby] I tried to summarize the methods that frequently appear in paiza
[Ruby] I tried to summarize the methods that frequently appear in paiza ②
I tried migrating the portfolio created on Vagrant to the Docker development environment
I tried to publish the reflex measurement application on the Google Play store
I tried to summarize the methods used
I want to install PHP 7.2 on Ubuntu 20.04.
How to change the timezone on Ubuntu
I tried to implement the Iterator pattern
Microservices 101-I tried putting Docker on Ubuntu-
I tried to summarize the Stream API
I tried to build AdoptOpenjdk 11 on CentOS 7
After verifying the Monty Hall problem with Ruby, a story that I could understand well and did not understand well
In WSL2, when I did `docker-compose up`, I got an error saying that the sh file was not found.
[First environment construction] I tried to create a Rails 6 + MySQL 8.0 + Docker environment on Windows 10.
A story when I tried to make a video by linking Processing and Resolume
What I tried when I wanted to get all the fields of a bean
I tried to summarize again the devise that was difficult at first sight
When I run the source command in the Ubuntu Makefile, it says "source: command not found"
[Small story] I tried to make the java ArrayList a little more convenient
When I tried to use a Wacom tablet with ubuntu 20.04, I didn't recognize it.
A story that I was really into when I did triple DES with ruby
[Rails] I tried to raise the Rails version from 5.0 to 5.2
I tried to organize the session in Rails
When I tried to reproduce Progate's Rails app on my PC (local environment), I got stuck at the image display
A memo of what I did from a blank state to searching for characters using the "grep command" on "Ubuntu"
I want to solve the problem that JS is not displayed properly unless reloaded when transitioning with Turbolinks: link_to
What I did when I converted java to Kotlin
I tried to set tomcat to run the Servlet.
An embarrassing story that was treated as the same day when trying to compare dates on 3/31 and 4/1 [Java / Calendar]
I want you to put the story that the error was solved when you stabbed the charger in the corner of your head
A story that people who did iOS solidly may be addicted to the implementation of Listener when moving to Android
Rspec: I want to test the post-execution state when I set a method on subject