Linux下mysql数据库的备份和还原

备份:mysqldump -u用户名 -p密码 数据库名 > /home/data.bak

还原:mysql -u用户名 -p密码 数据库名< /home/data.bak

猜你喜欢

转载自hunan.iteye.com/blog/744511