首页 > 技术文章 > mysql备份
whiteprism 2017-03-15 10:28 原文
备份数据库:
mysqldump –u root –p root密码 数据库名 > 备份文件.sql
恢复数据库:
mysql –u root –p root密码 数据库名 < 备份文件.sql