Wordpress websites do not work after migration: Error establishing a database connection

Created:

2017-05-18 09:46:36 UTC

Modified:

2017-08-16 16:55:44 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Wordpress websites do not work after migration: Error establishing a database connection

Applicable to:

  • Plesk Onyx for Linux
  • Plesk Onyx for Windows

Symptoms

Website is not accessible after migration:

Error establishing a database connection

Cause

Users' database passwords aren't correct on the source server. This is Plesk Migrator bug #PMT-2631 which will be fixed in future updates.

Resolution

As a workaround, set the correct password in the /var/www/vhost/example.com/site/worpress/wp-config.php file on the source server and re-migrate the subscription

If content re-syncing is not planned, it is possible to set the correct password in the /var/www/vhost/example.com/site/worpress/wp-config.php file on the target server.

Have more questions? Submit a request
Please sign in to leave a comment.