This assumes that mysql is in your classpath. Replace "dbname" in the below command with your own database name.
mysqldump -u root -p dbname > dump.sql (export)
mysql -u USER -p dbname < dump.sql (import)
Saturday, June 20, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment