Title: Error establishing database connection / Error 500
Last modified: September 1, 2016

---

# Error establishing database connection / Error 500

 *  [fraquoh](https://wordpress.org/support/users/fraquoh/)
 * (@fraquoh)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-establishing-database-connection-error-500/)
 * I used to receive an Error establishing database connection once in a while on
   my website and sometimes it would really crash badly (I couldn’t even log in 
   to the WP Admin).
 * After switching hosts, I don’t receive this message anymore, but from time to
   time, some users, not all, receive a 500 Error.
 * I need to mention that after I moved to a new host, I installed a fresh WP and
   uploaded old content in new databases.
 * What can be the cause?
 * Thank you!

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

 *  [magefix](https://wordpress.org/support/users/magefix/)
 * (@magefix)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-establishing-database-connection-error-500/#post-7685338)
 * Check your error.log file, or check server logs from your account dashboard.
 *  Thread Starter [fraquoh](https://wordpress.org/support/users/fraquoh/)
 * (@fraquoh)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-establishing-database-connection-error-500/#post-7685413)
 * There are no errors showing up in the error log at this time… That is odd.

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

The topic ‘Error establishing database connection / Error 500’ is closed to new 
replies.

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
