Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am on Ubuntu 14.04
My system was upgraded a few days ago.
Now for every command from deleting to creating a site fails.
I get this:
SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
I am also getting this now:
sudo mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
but i can loggin once I enter my password
sudo mysql -u root -p
Enter password: xxxxxx
>mysql
any thoughts on how to troubleshoot to give you more detail?
Comments
Comment #1
helmo CreditAttribution: helmo commentedCould it be that the password stored by aegir is lost? You could try to edit the server node (usually node/2), enter the correct password. And let provision re-verify it.
Comment #2
ergonlogicCheck in the db server context, which would normally be found at /var/aegir/.drush/server_localhost.alias.drushrc.php. The 'master_db' field ought to have the proper credentials. If not, update them there, and tasks should work again.
If
sudo mysql -u root
used to work for you, then you must have the db password in your ~/.my.cnf. Perhaps the db password changed?Comment #3
helmo CreditAttribution: helmo at Initfour websolutions commented