Title: Changing database server
Last modified: August 30, 2016

---

# Changing database server

 *  [jeanmichelcote](https://wordpress.org/support/users/jeanmichelcote/)
 * (@jeanmichelcote)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/changing-database-server-2-2/)
 * Hi,
 * I own a VPS at dreamhost with wordpress running on it and i’ve just learned that
   they give you access to a free shared server for hosting database instead of 
   running mysql on the same server as apache, as of now.
 * At the moment, i run an instance of wordpress at
    `mysite.com` while its DB runs
   on `mysql.mysite.com` , which is the same server for both.
 * Now I want to change the mysql server to another address/server.
    Do I only have
   to dump the DB, modify the `wp-config.php` file accordingly, import the .sql 
   file back in and bingo?
 * If there is anything i should do that i haven’t mentionned, please let me know.
 * Thanks

Viewing 1 replies (of 1 total)

 *  [leejosepho](https://wordpress.org/support/users/leejosepho/)
 * (@leejosepho)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/changing-database-server-2-2/#post-6297530)
 * > a free shared server for hosting database instead of running mysql on the same
   > server as apache
 * I am not aware of anything in wp-config.php that would change a server path, 
   but I could be quite wrong there even though I do know obscurity, “free shared
   server” and security are not synonymous.

Viewing 1 replies (of 1 total)

The topic ‘Changing database server’ is closed to new replies.

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
