S
S
Sergey Burduzha2017-09-18 09:23:25
MySQL
Sergey Burduzha, 2017-09-18 09:23:25

Why doesn't mysql work immediately after installation?

Installed mysql maria-db
sudo apt-get install mariadb-server mariadb-client
further, configured
sudo mysql_secure_installation
all the questions, answered positively,
set the password to 'root',
run it from the terminal, mysq -u root -p root
output

ERROR 1698 (28000): Access denied for user 'root'@'localhost'

what did I miss?
thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2017-09-18
@Austin_Powers

extra space
mysql -u root -proot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question