Error establishing a database connection
-
Wndows XP (SP3) 332 bit local installation of WordPress 3.2.1 on XAMPP 1.7.4 web server.
As with many others I have struck this ‘Error establishing a data base connection’ error repeatedly when trying to complete my WordPress installation.
I have now downloaded the WordPress 3.2.1.zip four times, each of the last 3 times I have completely replaced all subdirectories then extracted the core files for WordPress again. I have then renamed the wp-config-sample.php file to wp-config.php and edited it to include the appropriate entries. As soon as I run the instal script I get the error.
I have tried 2 different text editors to make changes to the wp-config.php file.
I have double checked the databasename, username and password for the MySQL database and the hostname (localhost) is correct.
I have not yet found another thread in this forum that has been unresolved beyond this point.
The only thing I have not yet tried (that I can think of) is to delete my wordpress MySQL user and the database and recreated them.
I dont understand why doing so should make a difference but I will try that next unless someone else has a better suggestion.
- The topic ‘Error establishing a database connection’ is closed to new replies.