Posted By

alvarezrilla on 06/15/09


mysql import Bash backup dump export

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


MySQL backup using mysqldump

 / Published in: Bash

Will prompt for user password.

  1. mysqldump --opt --user=USER_NAME --password DB_NAME > DB_NAME.sql
  2. mysql --user=USER_NAME --password DB_NAME < DB_NAME.sql

Report this snippet  

You need to login to post a comment.