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

VM’s picture

are both installs on the same machine?

web-htm-mbs’s picture

No they are on different machines

VM’s picture

I've never tried to accomplish a migration that way. I'm not sure you can but best to let someone else chime in.

mmjvb’s picture

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 ?