Sunday, February 15, 2009

mysql import and export

export:
mysqldump -u user -p db > dump.sql

import:
mysql -u user -p db < dump.sql

No comments: