Answer the question
In order to leave comments, you need to log in
Why can't I login to MySQL Linux Ubuntu 18.04?
Installed mysql and phpmyadmin on ubuntu 18.04 server running nginx
Everything was done according to this
But apparently I missed and didn't run the command FLUSH PRIVILEGES
At the moment I can't login to mysql.
My actions
mysql -u root -p
Enter password
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
mysql_native_password
sudo mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
service mysql status
kill 18859
sudo service mysql start
Answer the question
In order to leave comments, you need to log in
delete
apt purge mysql*[desired names] mariadb
just in case delete the DBMS directory with settings and database and reinstall
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question