Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost.
I have 2 times had the same problem:
My solution was to change the wp-config.php in line 6
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
but I changed it to the name of my webhotel ex= webhotel4webhotel.com
That was all as the information told me.