Mysql - dump and load

You can dump the database into a file using: 
 
  mysqldump -h hostname -u user --password=password databasename > filename 
 
you can restore the info to the database again using: 
 
  mysql -h hostname -u user --password=password databasename < filename

from: http://forums.mysql.com/read.php?10,195091,195097

No votes yet

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.