I just started upgrading from 2.05 to 2.2.2. When running http://example.com/wordpress/wp-admin/upgrade.php everything went fine and I was informed that the database needs an update. After everything was done I’ve recieved the following error message:
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. This could mean your host’s database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
I haven’t changed username/pw or anything like that. If I create a new DB on the same server and edit the wp-config.php file accordingly everything worls finde. Could it be that my DB was damaged during the upgrade? If yes, how could I restore it?
- The topic ‘Error establishing a database connection’ is closed to new replies.