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 tried to migrate from one platform to another.
It fails.
I get: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
Comments
Comment #1
ergonlogicIt looks like you've lost your root database password. You can try verifying your db server. If that doesn't work, try editing the db server node,and adding the password there. Also, check your db server context (usually at /var/aegir/.drush/server_localhost.alias.drushrc.inc).
Comment #2
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedok. thanks. I have never had to verify my database server before. that did it. That fixed it.
For others all other functions seemed to be working correctly. I could create sites and verify.
Comment #3
ergonlogicIt's unusual that you'd need to. If you see this again, please document any recent tasks or operations you've run, so we can try to track down the root cause of your db server context getting re-written w/o credentials.