Title: Error established database connection
Last modified: August 19, 2016

---

# Error established database connection

 *  [Zox Zin Min](https://wordpress.org/support/users/zoxy/)
 * (@zoxy)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/error-established-database-connection/)
 * I already uploaded wordpress 3.0.4 on my database. But I cannot install wordpress.
   I filled database name, username, password and host name as LOCAL HOST. But I
   got Error established database connection. Then I contacted to owner of database.
   They told me that I need to refill as other database name 127.0.0.1. But I got
   this error again. Why? Please let me know. Thanks a lot.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/error-established-database-connection/#post-1904445)
 * -First, double check your wp-config.php file settings for the database name, 
   database username and database password. This is where most errors occur.
 * -Then check that you don’t need to change the database host from “localhost” 
   to something else. You can get that info from your hosting provider.
 * -Check you have actually created a database with the same database name as is
   in your wp-config.php file.
 * -Last, but not least, if all that information is correct your database probably
   has a problem with it and you may need to contact your web hosting (unless you
   are your own server).
 * There are also many threads on this topic on these forums: [http://wordpress.org/search/Error+establishing+a+database+connection?forums=1](http://wordpress.org/search/Error+establishing+a+database+connection?forums=1)
 * Also, see if this video helps: [http://educhalk.org/blog/2009/03/error-establishing-a-database-connection-how-to-fix-this-wordpress-error/](http://educhalk.org/blog/2009/03/error-establishing-a-database-connection-how-to-fix-this-wordpress-error/)
 *  Thread Starter [Zox Zin Min](https://wordpress.org/support/users/zoxy/)
 * (@zoxy)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/error-established-database-connection/#post-1904637)
 * Thanks alot for your help.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/error-established-database-connection/#post-1904640)
 * You are welcome! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error established database connection’ is closed to new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/error-established-database-connection/#post-1904640)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
