Title: Error Establishing a Database Connection
Last modified: August 21, 2016

---

# Error Establishing a Database Connection

 *  [richesnrags](https://wordpress.org/support/users/richesnrags/)
 * (@richesnrags)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/)
 * Hello, This seems like a common problem with wordpress but after browsing the
   threads I haven’t found an answer that worked for me.
 * I hadn’t logged into this site for a couple weeks but today I logged into the
   wp-admin didnt do anything then a half hour later decided to install a plugin,
   I clicked on plugins and saw the error establishing database connection. since
   then I haven’t been able to log in to wp-admin or to see the site.
 * I host with godaddy so I called them and they said everything was ok on their
   end and that I should come here for help. I looked at the contents of my wp-config.
   php file and it looks correct.
 * What is the next step in order to get some help so I can get back to work on 
   the site?
 * Thank you
    Adam

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/page/2/?output_format=md)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396132)
 * What is your site URL?
 *  Thread Starter [richesnrags](https://wordpress.org/support/users/richesnrags/)
 * (@richesnrags)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396133)
 * [http://www.mobilityitems.com](http://www.mobilityitems.com)
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396134)
 * Yep, that’s what I get too. IF it happened right after adding a plugin, try deactivating
   all plugins by renaming the plugins folder on the server via FTP or GoDaddy’s
   file manager –
 *     ```
       wp-content
            plugins.HOLD
       ```
   
 *  Thread Starter [richesnrags](https://wordpress.org/support/users/richesnrags/)
 * (@richesnrags)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396135)
 * i wasn’t able to add a plugin when I clicked on plugins I rceived the error
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396137)
 * I’d go back to GoDaddy. If you haven’t changed anything and that suddenly happened?
 *  Thread Starter [richesnrags](https://wordpress.org/support/users/richesnrags/)
 * (@richesnrags)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396138)
 * the support guy said that their side was working fine and that they couldn’t 
   offer support for wordpress. Maybe I updated wordpress a few days ago would that
   have caused this error?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396139)
 * Was your site working at all after the update?
 * You can certainly try the usual troubleshooting steps – deactivating plugins 
   as I posted above. If that doesn’t work, rename your current theme’s folder to
   HOLD as well so that WP uses twentythirteen.
 * Doublecheck your wp-config file – sounds like you have done that?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396140)
 * Here’s some useful things to try too:
 * [http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/](http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/)
 *  Thread Starter [richesnrags](https://wordpress.org/support/users/richesnrags/)
 * (@richesnrags)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396141)
 * i haven’t checked the site since i updated but i was able to log in earlier before
   the error.
 * renaming the plugin folder had no change
    renaming the themes folder had no change
 * I am new to wordpress but from looking at the other posts my config file appears
   to be ok. I can post it here to be sure, is there any info in the file that I
   don’t want to post here? ( what should i xxxx out if any)
 * thanks
 *  [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396142)
 * I am seeing your site (an under construction page) and the wp-admin as well.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396143)
 * Really? I’m still getting the error.
 *  Thread Starter [richesnrags](https://wordpress.org/support/users/richesnrags/)
 * (@richesnrags)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396144)
 * yeah still not working for me either
 *  [Mike](https://wordpress.org/support/users/manndtp/)
 * (@manndtp)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396145)
 * Yep. I’m seeing a bright orange background on the wp-admin for Bazar Shop. Did
   you recently move the site or change DNS?
 *  Thread Starter [richesnrags](https://wordpress.org/support/users/richesnrags/)
 * (@richesnrags)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396146)
 * no it’s a new site what you are seeing is correct. any idea why you see it and
   we can’t ?
 *  Thread Starter [richesnrags](https://wordpress.org/support/users/richesnrags/)
 * (@richesnrags)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/#post-4396148)
 * just got off the phone with godaddy, apparently some users are having that issue
   while others are not. Their developers are working on it and it will be resolved
   ASAP.
 * thanks for the help.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/page/2/?output_format=md)

The topic ‘Error Establishing a Database Connection’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 20 replies
 * 4 participants
 * Last reply from: [richesnrags](https://wordpress.org/support/users/richesnrags/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-545/page/2/#post-4396163)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
