Error establishing a database connection


Good afternoon appears me on my site “Error establishing a database connection”. The only bad thing I could have done was to change the database pass. How can I reverse the situation until the database exists.


You can keep your database password changed so no need to revert it for getting out of this problem. You just have to open file manager and there will be config.php file or very similar to it. Open it and update your database password to new one.


There is no PHP file with config name or something like that.


Can you give me screenshot of your all files in file manager


Its wp-config.php

As said above, change your database password from control panel and update the same in “wp-config.php”.

Let us know if you face any difficulties. :slight_smile: