Error establishing a database connection
I know this topic has come up a bazillion times but I’m quite ready to pull my hair out after trying every recommended fix I can find.
I’m using MAMP, BlueHost and Chrome. I’ve downloaded WP 3.8 and put in MAMP–>htdocs–>wordpress. I created a database called “wordpress’ in phpMyAdmin in MAMP. I gave it all access and do not have a password on it (that I am aware of).
Running http://localhost:8888/wordpress/ I am able to login and get the lovely HELLO WORLD! post / dashboard.
Trying to go access http://elizabethshell.com/wp-admin/install.php results in the Error establishing a database connection. What am I doing wrong? Full config.php file is below, minus the password and config keys. As to the error screen’s questions:
Are you sure you have the correct username and password? — Yes. I have also reset the password via the priveledges tab under PHPMyAdmin in MAMP. I used the generated password to update wp-config.php and re-ftp’ed it. No change in error message after refreshing the page. It also destroyed my localhost access so I changed it back to ‘root.’
Are you sure that you have typed the correct hostname? Yes. I am using BlueHost and triple-confirmed the hostname is localhost.
Are you sure that the database server is running? Yes. My original index.html page is still up and running.
I also tried doing the WP install via BlueHost, but received an error page saying they couldn’t go further with a giant broken image that should have been a screenshot of the problem.
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
/** Database Charset to use in creating database tables. */
/** The Database Collate type. Don’t change this if in doubt. */
- The topic ‘Error establishing a database connection’ is closed to new replies.