Never hooked up wordpress before but spent a considerable amount of time troubleshooting.
Setting it up on localhost, windows XP, using latest XAMP as of September 2012 with MYSQL 6.5.4 and PHPMyAdmin and stuff.
In the htdocs in XAMP I have my website folder, and the files in it are all accessible. However, I’ve tried to put the wordpress folder in htdocs, mywebsite, etc a couple different locations just to access the wp-admin install file. It seems while I can access all my other website files, it doesn’t matter where this wordpress folder is I get a database error trying to access anything inside (including index, for example.) The install does not work which is the main bad thing going on.
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?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
I’ve checked my config file a lot and made the passwords correct; and, even resorted to killing passwords to just get this stuff accessible. I’m pretty sure I have my info right..
What’s gone wrong?
- The topic ‘Error establishing a database connection’ is closed to new replies.