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.
By web-htm-mbs on
Currently trying to use the upgrade module to migrate site from drupal 7 to 9. stuck getting error "Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [1045] Access denied for user 'drupal'@'localhost' (using password: YES)." even though I enter information correctly from settings.php file. I am able to use these credentials to log into the phpmyadmin site and access the database there but when I try to use the migrate module it tells me access denied. Any ideas on what could be the problem?
Comments
=-=
are both installs on the same machine?
No they are on different
No they are on different machines
=-=
I've never tried to accomplish a migration that way. I'm not sure you can but best to let someone else chime in.
Database needs to allow acces from remote
Did you configure the database to allow remote connections?
In addition to that the credentials used can't be @localhost as you access from remote. Do you allow user@remote ?