
I would like to migrate a Drupal 7 site to a Drupal 9 site. I am an amateur user.
I have created an empty Drupal 9 site on a local server. Until then everything was going ok.
Now I have imported both the old and the new database in phpMyAdmin into localhost.
When accessing the source database I always get the error: SQLSTATE[HY000] [1045] Access denied for user...
The source database is the original one in Drupal 7, right? I took the name and password data from the old database. (There is an underscore in this name but that can't be a problem I guess)
In phpMyAdmin I also get the message:
"phpMyAdmin's configuration store has been disabled. Find out why."
Could that have something to do with it?
Can someone help me out?
Luc
Comments
Not a easy task
Upgrading a website from Drupal 7 to Drupal 9 is not an easy task.
Just importing the Drupal 7 database into a server set up to run Drupal 9 is not going to work. The initial steps of migrating a website is described on this page: Upgrading from Drupal 6 or Drupal 7. As noted, not all contributed modules have automatic upgrade paths and may require a manual or custom migration.
For what it is worth, I've found that unless the Drupal 7 website to upgrade is very simple, upgrading from Drupal 7 to Drupal 8 or 9 using the automated tools provided is very hard.
If (like me) you are unable to get these tools to work for you, you may consider one of these are two options:
Whatever route you take, I wish you good luck.
- gisle