Posted By

yuconner on 09/18/06


database commands

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


MySQL import command

 / Published in: SQL

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

Report this snippet  


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.