Use MySQL to dump databases

Often times you will need to dump your MySQL database from one machine to another. Sometimes you can use utilities like PHPMyAdmin, but it’s always useful to know how to dump your database’s contents manually.

add3-imac:~ jon$ mysqldump -u username -p databasename >/tmp/databasename.sql

Tags:

5 comments

  1. Great post, really help me alot. Thanks.

    http://golfman.the-mnm.info

  2. Great post, really help me alot. Thanks.

    http://golfman.the-mnm.info

Leave a comment