mysqldump -uroot -p sqltest>e:/a.sqltest
//在e盘下拷贝sqltest
mysql -uroot -p sqltest<e:/a.sqltest
//恢复数据库
07-29
120
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-24
1012
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-16
mysqldump -uroot -p sqltest>e:/a.sqltest
//在e盘下拷贝sqltest
mysql -uroot -p sqltest<e:/a.sqltest
//恢复数据库