Title: New install using old database
Last modified: August 19, 2016

---

# New install using old database

 *  [zzyzyva](https://wordpress.org/support/users/zzyzyva/)
 * (@zzyzyva)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/new-install-using-old-database/)
 * I have installed 2.5 in a new directory and want to use an existing mySQL database.
   My attempts to do this have included installing WP in the new directory and changing
   the wp-config.php file to reflect the old data base name and password. However
   I get the message: “Error Establishing Database Connection.” What have I not 
   done correctly? Thanks.

Viewing 1 replies (of 1 total)

 *  Thread Starter [zzyzyva](https://wordpress.org/support/users/zzyzyva/)
 * (@zzyzyva)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/new-install-using-old-database/#post-737860)
 * Nevermind. I figured it out.

Viewing 1 replies (of 1 total)

The topic ‘New install using old database’ is closed to new replies.

## Tags

 * [error establishing database connection](https://wordpress.org/support/topic-tag/error-establishing-database-connection/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 1 participant
 * Last reply from: [zzyzyva](https://wordpress.org/support/users/zzyzyva/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/new-install-using-old-database/#post-737860)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
