Published in: SQL
mysql -u USER -p DBNAME < dump.sql
Comments
Subscribe to comments
You need to login to post a comment.
SQL Cookbook
Written in O'Reilly's popular Problem/Solution/Discussion style, the SQL Cookbook is sure to please. Anthony's credo is: "When it comes down to it, we all go to work, we all have bills to pay, and we all want to go home at a reasonable time and enjoy what's still available of our days." The SQL Cookbook moves quickly from problem to solution, saving you time each step of the way.
yuconner on 09/18/06
Published in: SQL
mysql -u USER -p DBNAME < dump.sql
Subscribe to comments
You need to login to post a comment.
I think that's the import. To dump, you have to do something like this: mysqldump --user=username --password=password dbname > MyDatabaseBackup.sql