Title: Error with a database connection
Last modified: August 18, 2016

---

# Error with a database connection

 *  [taprice](https://wordpress.org/support/users/taprice/)
 * (@taprice)
 * [21 years ago](https://wordpress.org/support/topic/error-with-a-database-connection/)
 * I just tried to load my blog and was told that there was an error establishing
   a database connection. It worked fine this morning and I haven’t even posted 
   since then. Any ideas?
 * Here is the message from I get when I type in the URL (www.afrolicofmyown.com):
 * Error establishing a database connection! This probably means that the connection
   information in your wp-config.php file is incorrect. Double check it and try 
   again.
 * Are you sure you have the correct user/password?
 * Are you sure that you have typed the correct hostname?
 * Are you sure that the database server is running?

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

 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [21 years ago](https://wordpress.org/support/topic/error-with-a-database-connection/#post-174700)
 * Could be a problem with your host. This happened to me not too long ago. I just
   checked back later and everything worked fine.
 *  Thread Starter [taprice](https://wordpress.org/support/users/taprice/)
 * (@taprice)
 * [21 years ago](https://wordpress.org/support/topic/error-with-a-database-connection/#post-174713)
 * Ok, I’ll wait and try back.
 * I love solutions that involve me doing nothing. They’re so much better than the
   solutions that involve me digging through pages of code I barely understand.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years ago](https://wordpress.org/support/topic/error-with-a-database-connection/#post-174714)
 * If you want to do something, you could contact your hosting provider and ask 
   if anything is wrong with your MySQL server.
 *  [OpenDNA](https://wordpress.org/support/users/opendna/)
 * (@opendna)
 * [21 years ago](https://wordpress.org/support/topic/error-with-a-database-connection/#post-175272)
 * Are you using shieldhost.com? The same thing has happened to me twice now. I 
   re-installed and it came back. Today: *poof!* It’s broke again. =^(
 *  [OpenDNA](https://wordpress.org/support/users/opendna/)
 * (@opendna)
 * [21 years ago](https://wordpress.org/support/topic/error-with-a-database-connection/#post-175276)
 * Ok, rookie mistake: the problem wasn’t shieldhost.com, it was the installation
   of an unconfigured plugin. (coppermine)
 *  [billsey](https://wordpress.org/support/users/billsey/)
 * (@billsey)
 * [21 years ago](https://wordpress.org/support/topic/error-with-a-database-connection/#post-175277)
 * I occasionally run into this problem with my host. When I checked the error messages
   from the database server it claimed that there were “too many connections”. Apparently
   too many people were already using the server at that time. This MIGHT be what
   is going on in your case as well. If it is, all you can do is try back later,
   or get your host to increase the user limit on the database server.
 *  [thepete](https://wordpress.org/support/users/thepete/)
 * (@thepete)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/error-with-a-database-connection/#post-175305)
 * Yeah, that’s what was up with me. I get 2000 or so hits a day and keep getting
   connection errors because my MySQL can only handle 15 connections at once. Sheesh…
   that’ll teach me to not do my research before installing a blogging tool that
   uses MySQL!! I just wish I could figure out how to tweak the standard WordPress
   error page.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/error-with-a-database-connection/#post-175306)
 * Unless you’re getting a really good deal (Free, IOW), you should consider switching
   to a host which can actually handle a light blogging platform like WordPress.
   See: [http://wordpress.org/hosting/](http://wordpress.org/hosting/)

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

The topic ‘Error with a database connection’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 6 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [20 years, 12 months ago](https://wordpress.org/support/topic/error-with-a-database-connection/#post-175306)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
