Home » Tutorial

Insert backup mySQL data into database

Written By: techieDan on January 29, 2009 One Comment

There are many people who are using WordPress.org as their blog platform and one of the most important thing they do at times in case of system crash is to backup their data. Most bloggers will be backing it up using the plugins from wordpress or do it semi-manually using the phpmyadmin that comes with most hosting.

Now the part comes, where do you put those data. Why not do a replica of it on to your database and run your own WordPress and play test it. Here’s how one can insert the text data back into a database with just few simple commands.

mysql -uUser -pPassword -hlocalhost dbName < data.ddl

Now that is what one ever need to do. Make sure before you do this though, that tables in the said database is drop from it.

Related Posts with Thumbnails

Tags:

Digg this!Add to del.icio.us!Stumble this!Add to Techorati!Share on Facebook!Seed Newsvine!Reddit!Add to Yahoo!

One Response to “Insert backup mySQL data into database”

  1. Relax says on: 8 February 2009 at 9:51 am

    OK your blog link fixed :D

Leave a Reply:

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  Copyright © 2009 TechieDan, All rights reserved.| Powered by WordPress