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

Follow

Comments

2 comments

  • Avatar
    Michael Stuart

    What is the user id and password supposed to be? given that what's in the wp-config file is incorrect.

    This is an irritating bug that should have been noted in the migration tool, rather than waste each persons time having to deal with it after the fact.

  • Avatar
    Bulat Tsydenov

    @Michael, Hi!
    As I understand, you faced the same issue after migration. However, when you reset the password, the website still shows "Error establishing a database connection". Please, correct me if I am wrong.

    There can be several reasons for that:
    - the website you are opening in the browser actually points to another ip and therefore to another server
    - there is some other place rather than wp-config.php where database user credentials are defined

Please sign in to leave a comment.

Have more questions? Submit a request