Posted By

yuconner on 09/18/06


Tagged

database commands


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

inod3


MySQL import command


 / Published in: SQL
 

  1. mysql -u USER -p DBNAME < dump.sql

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: jonhenshaw on December 1, 2007

I think that's the import. To dump, you have to do something like this: mysqldump --user=username --password=password dbname > MyDatabaseBackup.sql

You need to login to post a comment.