Title: Installation: Error establish database connection
Last modified: August 20, 2016

---

# Installation: Error establish database connection

 *  Resolved [microrganisms](https://wordpress.org/support/users/microrganisms/)
 * (@microrganisms)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/installation-error-establish-database-connection/)
 * I’m following [this guide](http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP)
   to install on my mac. When I try to install I get this 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:
   > 8888. 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.

Viewing 1 replies (of 1 total)

 *  Thread Starter [microrganisms](https://wordpress.org/support/users/microrganisms/)
 * (@microrganisms)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/installation-error-establish-database-connection/#post-2195466)
 * Hi, I just edited the config file. No worries!

Viewing 1 replies (of 1 total)

The topic ‘Installation: Error establish database connection’ is closed to new replies.

## Tags

 * [databse connection](https://wordpress.org/support/topic-tag/databse-connection/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 1 participant
 * Last reply from: [microrganisms](https://wordpress.org/support/users/microrganisms/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/installation-error-establish-database-connection/#post-2195466)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
