M
M
MaksSmag2020-07-06 11:06:28
MySQL
MaksSmag, 2020-07-06 11:06:28

Root password is not set, what's the problem?

When trying to set the root password with the command below in sudo mysql: SET PASSWORD FOR 'root'@'localhost' = '1234';nothing is updated (0 rows affected):

spoiler
5f02db42535ab581830181.png
I have Ubuntu Server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Chernykh, 2020-07-06
@sashkets

in which line
mysqladmin --user=root password "newpassword"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question