Title: Changing Database Host
Last modified: August 19, 2016

---

# Changing Database Host

 *  [Nick5a1](https://wordpress.org/support/users/nick5a1/)
 * (@nick5a1)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/changing-database-host/)
 * Hi,
 * My MySQL databases are stored on a separate host to my HTML files. My webhost
   is going to migrate my MySQL databases from one database host to another database
   host (going from MySQL 4 to MySQL 5). The logins and tables will all be preserved,
   but the database host name will change. Is it simply a matter of updating the
   host name in my wp-config after the migration or is there something else I’ll
   need to do?
 * Thanks,
    Nick

Viewing 1 replies (of 1 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/changing-database-host/#post-1993277)
 * > Is it simply a matter of updating the host name in my wp-config after the migration
 * that’s it if all else is preserved

Viewing 1 replies (of 1 total)

The topic ‘Changing Database Host’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/changing-database-host/#post-1993277)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
