Title: Database Error and 500 error
Last modified: August 21, 2016

---

# Database Error and 500 error

 *  Resolved [fattpacman](https://wordpress.org/support/users/fattpacman/)
 * (@fattpacman)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/database-error-and-500-error/)
 * Hi Guys,
 * Something odd is happening to my website. It was working fine all of five minutes
   ago. I log out of one account and go to log into another, and I get the WordPress
   error page for a Database Connection.
 * Then, I refreshed the page, and I got the standard Error 500
 * > Internal Server Error
   > The server encountered an internal error or misconfiguration and was unable
   > to complete your request.
 * After refreshing again, I just got a plain text of ‘Error establishing database
   connection and is just toing/froing between the last two.
 * I haven’t touched the backend of the website, all I did was log out!
 * Any idea what could be causing this or how to go about fixing it?
 * The url is here: [gateway978.com](http://gateway978.com)

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/database-error-and-500-error/#post-4025398)
 * Have you contacted your hosts about this? Sounds like a hosting problem to me.
 *  Thread Starter [fattpacman](https://wordpress.org/support/users/fattpacman/)
 * (@fattpacman)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/database-error-and-500-error/#post-4025422)
 * I have done, and it has since come back up. Odd, as there are no error logs that
   I can see.
 * I’m thinking my host is going through a bout of unreliability, as this is the
   second time the site has gone down in 24 hours, but only the first (I think) 
   since we migrated to them about a year ago!
 * I’m awaiting their response, hoping they have an explanation as to what’s going
   on!
 * Thanks for your advice 🙂

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [fattpacman](https://wordpress.org/support/users/fattpacman/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/database-error-and-500-error/#post-4025422)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
