mysql 备份和恢复

1.MySQL备份
mysqldump –default-character-set=utf8 -u root -p mydb > mydb.sql

2.MySQL恢复
mysql –default-character-set=utf8 -u root -p mydb < mydb.sql

Written by gegewan on 十月 24th, 2008 with no comments.
Read more articles on MySQL.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .