Posted By

alvarezrilla on 06/15/09


Tagged

mysql import Bash backup dump export


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


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.