Title: &#039;Error establishing a database connection&#039;
Last modified: August 21, 2016

---

# 'Error establishing a database connection'

 *  Resolved [ShazH](https://wordpress.org/support/users/shazh/)
 * (@shazh)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-499/)
 * I can’t get in to my WP dashboard and website following some editing of my posts.
   Is there anyway around this as I really have no idea where to start? I am an 
   amateur so I would appreciate it if you keep it simple for me. thanks v much
   
   sharon my website is [http://www.the-fashioninstitute.com](http://www.the-fashioninstitute.com)

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

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-499/#post-3807623)
 * The database error must have been a temporary host issue.
 * Go to yourdomain.com/wp-admin/ to login or change your password.
 *  Thread Starter [ShazH](https://wordpress.org/support/users/shazh/)
 * (@shazh)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-499/#post-3807670)
 * Hi I eventually actally tracked it down to an over zealous spyware programe that
   had ‘removed ‘ my WP file! (found when I was looking for the file to instigate
   a repair as suggested on the site) System restore sorted it (phew!) but thanks
   now, all back to normal 🙂
    (I couldn’t log in through wp-admin….that was also
   the problem)

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

The topic ‘'Error establishing a database connection'’ 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: [ShazH](https://wordpress.org/support/users/shazh/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-499/#post-3807670)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
