1备份一个数据库 1-1 备份数据库1-2 恢复数据库 1备份一个数据库 1-1 备份数据库 mysqldump -u root -p 数据库名 > D:\backup.sql 1-2 恢复数据库 mysql -u root -p 数据库名 < D:\backup.sql