Title: Fixing a Busted Install
Last modified: August 19, 2016

---

# Fixing a Busted Install

 *  [jmiked](https://wordpress.org/support/users/jmiked/)
 * (@jmiked)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/fixing-a-busted-install/)
 * I had a server (machine) blow up. I was able to get into it enough to get a complete
   copy of the /var/www/html directory where the site lived.
 * I was able to get a database backup through webmin and have installed it on the
   new site again via webmin.
 * The only thing I can get is “ERROR ESTABLISHING A DATABASE CONNECTION”.
 * Any ideas where I can go from here.
 * Of course it blew up three hours before the scheduled backup.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/fixing-a-busted-install/#post-1316990)
 * Sounds like you need to review the settings in wp-config.php – specifically the
   database name and hostname.
 *  Thread Starter [jmiked](https://wordpress.org/support/users/jmiked/)
 * (@jmiked)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/fixing-a-busted-install/#post-1317030)
 * Thought of that, the database name is the same and hostname is localhost.
 * Anybody have thoughts about a fresh and then import the mysql backup via webmin?
   I am afraid I would loose a ton of content.
 *  Thread Starter [jmiked](https://wordpress.org/support/users/jmiked/)
 * (@jmiked)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/fixing-a-busted-install/#post-1317044)
 * Some Admin type mark this as closed. I am going to rebuild from scratch.

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

The topic ‘Fixing a Busted Install’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [jmiked](https://wordpress.org/support/users/jmiked/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/fixing-a-busted-install/#post-1317044)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
