Title: Database Error just after installation
Last modified: August 19, 2016

---

# Database Error just after installation

 *  [eagle-aus](https://wordpress.org/support/users/eagle-aus/)
 * (@eagle-aus)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/database-error-just-after-installation/)
 * Hi. I have just installed wordpress through fantastico in hostgator cpanel. When
   I go to login to the wp-admin area, it comes up with an 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. 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?
 * I don’t know how to change anything if I cannot get in, however, the username
   and password is correct, yet it doesn’t give me an opportunity to put them in.
 * I am wondering how long it takes once wordpress is installed to actually work??
 * The domain name is [http://enlightenedeagle.com.au/blog/wp-admin](http://enlightenedeagle.com.au/blog/wp-admin)
 * I am a newbie, so would love some help with this. I actually have installed wordpress
   on another domain and had no problems at all.
 * many thanks Barb

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/database-error-just-after-installation/#post-1010438)
 * evidently fantastico didn’t create the wp-config.php correctly with correct parameters
   or you would connect immediately.
    I would get with host and ask them to correct
   this since it is their script.
 *  [figaro](https://wordpress.org/support/users/figaro/)
 * (@figaro)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/database-error-just-after-installation/#post-1010439)
 * If you have Cpanel you would be better just doing a manual install. See the following
   for how to install using Cpanel.
 * [http://educhalk.org/blog/?p=1](http://educhalk.org/blog/?p=1)

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

The topic ‘Database Error just after installation’ 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/)
 * 2 replies
 * 3 participants
 * Last reply from: [figaro](https://wordpress.org/support/users/figaro/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/database-error-just-after-installation/#post-1010439)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
