Title: WP error
Last modified: August 18, 2016

---

# WP error

 *  [lastrange](https://wordpress.org/support/users/lastrange/)
 * (@lastrange)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/wp-error-1/)
 * Hello,
    I have been trying to access my page or for a few hours, but getting 
   this message error:
 * **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?
 * My host is working fine, I can access all the files and pages on my server. The
   site was running normally untill I started receiving this message on my main 
   page instead of seeing my website. I haven’t changed anything.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [sabinou](https://wordpress.org/support/users/sabinou/)
 * (@sabinou)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/wp-error-1/#post-660527)
 * That happens to my blog when the database server of my host is down, most of 
   the time that is temporary in my case.
 * In that case this is not the fault of your blog – if you didn’t make system changes.
   
   Contact your host, with hopes they fix that fast 🙂

Viewing 1 replies (of 1 total)

The topic ‘WP error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [sabinou](https://wordpress.org/support/users/sabinou/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/wp-error-1/#post-660527)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
