Title: Switch databases?
Last modified: August 30, 2016

---

# Switch databases?

 *  [omigosh](https://wordpress.org/support/users/omigosh/)
 * (@omigosh)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/switch-databases/)
 * I’ve installed a fresh copy of WordPress into a new folder inside my original
   site. I’d like to copy my original database into the new site so I can make changes
   to it.
 * Using PHP My Admin I created a new database and dumped my old database into it,
   so there should be 2 identical databases with different names, users and passwords.
 * Seems to me I should just go into wp-config in the new site and change it to 
   reflect the new values, then go into wp-options and change the site url to the
   new url.
 * Doesn’t work– no warnings, nothing, just a blank page. Any ideas?

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

 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/switch-databases/#post-6345009)
 * In the wp-options table; you have two values (home url and site url)… both will
   need to be adjusted.
 * Is this a multi-site install? If so; there will be some additional steps.
 * Did you check the codex on [Moving WordPress](https://codex.wordpress.org/Moving_WordPress)?
 *  Thread Starter [omigosh](https://wordpress.org/support/users/omigosh/)
 * (@omigosh)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/switch-databases/#post-6345063)
 * I don’t see a home url, but I have changed the site URL to the correct value.
 * Am I correct that you should be able to hook up any WordPress database to a fresh
   WP install just by changing config.php and the settings in wp-options?

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

The topic ‘Switch databases?’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [omigosh](https://wordpress.org/support/users/omigosh/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/switch-databases/#post-6345063)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
