How to restore wordpress database?

Discussion in 'MySQL' started by dodot, Dec 26, 2008.

  1. #1
    Hai can anyone tell me how to restore wordpress dB? I just star my new personal blog and i want to restore the data from the previous blog
    THankx
     
    dodot, Dec 26, 2008 IP
  2. JWRmedia

    JWRmedia Banned

    Messages:
    499
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just login to MySQL and delete all the tables of the new wordpress db and then click Import.

    Then click the browse button and select the .sql file from your previous blog. Then, the data from your previous blog will be uploaded.

    If your new blog has a different URL, go to the options table and one page 1 and page 2 you will see the old URL. Click edit and replace the old URL with your new URL.

    This may help you a little bit:

    http://www.jwrmedia.com/how-to/how-to-backup-your-sql-database.html

    Its a tutorial about how to backup your database, but you can just read the steps and reverse them. :)

    Hope this helps.
     
    JWRmedia, Dec 26, 2008 IP
  3. OhMamaMia

    OhMamaMia Peon

    Messages:
    56
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There's two ways you can try;

    Restore with CPanel through the Cpanel - Backup icon. There is a browse button, you find your database and click restore.

    Or try phpMyadmin, there is an import button that will dump the tables into the new database.
     
    OhMamaMia, Dec 26, 2008 IP
  4. JWRmedia

    JWRmedia Banned

    Messages:
    499
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    JWRmedia, Dec 26, 2008 IP
  5. Tweakedgeek

    Tweakedgeek Member

    Messages:
    157
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #5
    Just back it up!!
     
    Tweakedgeek, Dec 26, 2008 IP