Title: sql to xml
Last modified: August 31, 2016

---

# sql to xml

 *  Resolved [theonetwo](https://wordpress.org/support/users/theonetwo/)
 * (@theonetwo)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/sql-to-xml-1/)
 * Hi guys,
 * I need to migrate two of my wordpress sites from my previous host to another 
   and forgot to to export XML file from within the wordpress platform (shameful,
   I know).
 * Good news is I have the SQL export through phpmyadmin.
 * I’ve uploaded and the DB is configured correctly along with all the files.
    The
   only thing that remains is to import the XML file which I don’t have 🙁 It seems
   the only window left open is to convert SQL to XML and from what I’ve read you
   can save the day!
 * I need your urgent assistance with many, many thanks.
 * Good day,
 * Al

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/sql-to-xml-1/#post-6923934)
 * You won’t need to convert the database to XML, just restore the database at the
   new host following this guide: [https://codex.wordpress.org/Restoring_Your_Database_From_Backup](https://codex.wordpress.org/Restoring_Your_Database_From_Backup)
 * (the MySQL database contains everything the XML export would have)
 *  Thread Starter [theonetwo](https://wordpress.org/support/users/theonetwo/)
 * (@theonetwo)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/sql-to-xml-1/#post-6924165)
 * thank you sir.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/sql-to-xml-1/#post-6924166)
 * You’re welcome!

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

The topic ‘sql to xml’ is closed to new replies.

## Tags

 * [fail](https://wordpress.org/support/topic-tag/fail/)
 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [lost](https://wordpress.org/support/topic-tag/lost/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/sql-to-xml-1/#post-6924166)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
