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.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article