Title: Database connection issue
Last modified: March 12, 2019

---

# Database connection issue

 *  [rodoyo](https://wordpress.org/support/users/rodoyo/)
 * (@rodoyo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/database-connection-issue-4/)
 * HI all
    We get this message intermittently on our website and would like to find
   out what needs to be done to try and avoid this “Error establishing a database
   connection” Thanks Earl
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-connection-issue-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [FawzyBALMANE](https://wordpress.org/support/users/fawzybalmane/)
 * (@fawzybalmane)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/database-connection-issue-4/#post-11302280)
 * Hello [@rodoyo](https://wordpress.org/support/users/rodoyo/)
    have tried to verify
   database login’s and password if they are correct ? host ??
 *  Thread Starter [rodoyo](https://wordpress.org/support/users/rodoyo/)
 * (@rodoyo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/database-connection-issue-4/#post-11302286)
 * Login details are all correct.
 *  [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * (@jnashhawkins)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/database-connection-issue-4/#post-11302448)
 * This could actually be a good thing… Your site might be getting too busy for 
   the hardware you have available.
 * If WordPress works mostly then it’s time to have a chat with your web host about
   upgrading or running a split server where the database resides on one box (or
   more) and the website resides on another.
 * You might consider running on CloudFlare to maybe take up some slack and looking
   at a CDN and a caching plugin to help.
 * I’de be happy and willing to throw a few dollars at the problem if it was mine.
 * It may be an issue at your host also… either way your first step is to talk with
   them.
 *  Thread Starter [rodoyo](https://wordpress.org/support/users/rodoyo/)
 * (@rodoyo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/database-connection-issue-4/#post-11302592)
 * I agree
    I have been pushing the client to move from a shared server to a dedicated
   one. I think that may solve this and some other performance issues!! Earl
 *  Thread Starter [rodoyo](https://wordpress.org/support/users/rodoyo/)
 * (@rodoyo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/database-connection-issue-4/#post-11312593)
 * Hi
    We already have the website and database running on separate servers, so 
   their must be another solution to this intermittent connection error. Any ideas?
   Thanks Earl
    -  This reply was modified 7 years, 4 months ago by [rodoyo](https://wordpress.org/support/users/rodoyo/).

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

The topic ‘Database connection issue’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [rodoyo](https://wordpress.org/support/users/rodoyo/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/database-connection-issue-4/#post-11312593)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
