N
N
nathan1117772021-10-29 00:10:11
MySQL
nathan111777, 2021-10-29 00:10:11

What is the "Enter password" when logging into mysql?

Installed mysql on a freshly installed ubuntu 20.04 and configured mysql_secure_installation
Since it mysql -u root -pdoesn't allow me to login to mysql before.

Therefore, I enter mysql like this:
sudo mysql -u root -p

And I get:
[sudo] password for my_accaunt_ubuntu:
I enter the password of my ubuntu user.

And then it appears:
Enter password:

And so that I don’t write it in Enter password, it enters mysql.

This is fine?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question