Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
命令行备份与恢复数据库
leftsky
备份
mysqldump -u 用户名 -h IP地址 -p密码 数据库名 > 文件名.sql
恢复
mysql -u 用户名 -h IP地址 -p密码 -D 数据库名 < 文件名.sql