Answer the question
In order to leave comments, you need to log in
Error ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)?
Good afternoon. Please explain why this is happening!
Is VDS it is necessary to deliver php nginx mysql Everything except mysql works well.
In general, install MYSQL
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
sudo mysql
sudo mysql -u root -p
service mysql restart
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question