Pages

Tuesday, February 5, 2013

MySQL dump

Taking mysql dump

# mysqldump -u user -ppassword DB_name --ignore-table=DB_name.table_name1 --ignore-table=DB_name.table_name1 > DB_dump.sql


Restoring from the dump

# mysql -uroot -proot DB_name < DB_dump.sql

1 comment:

  1. Very shortly this web site will be famous amid all blogging people, due
    to it's fastidious articles or reviews

    ReplyDelete