Title: Database error
Last modified: August 19, 2016

---

# Database error

 *  Resolved [tecweston](https://wordpress.org/support/users/tecweston/)
 * (@tecweston)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/database-error-41/)
 * [http://www.thesundayscomic.com](http://www.thesundayscomic.com)
 * I’m getting a database error. I can still log in to the FTP, and all the files
   are still there. Pages on subdirectories still work, but the main page just shows
   a Database error. If I try going to the wp-admin directory, I get this:
 * > 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 the0929611473940.db.5138955.hostedresource.com.
   > 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 3 replies - 1 through 3 (of 3 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/database-error-41/#post-1340763)
 * Don’t see the error so guessing your host’s database server was not functioning.
 *  Thread Starter [tecweston](https://wordpress.org/support/users/tecweston/)
 * (@tecweston)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/database-error-41/#post-1340764)
 * > Don’t see the error so guessing your host’s database server was not functioning.
 * Do you mean it’s working for you?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/database-error-41/#post-1340771)
 * Yes. First comic begins with Diing Dong!

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/database-error-41/#post-1340771)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
