时间:2021-07-01 10:21:17 帮助过:3人阅读
1、
@echo off
set "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"
mysqldump -uroot -proot jy510 > E:/backup/jy510.sql
@echo on
2、
@echo off
set "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"
E:/wamp/bin/mysql/mysql5.5.8/bin/mysqldump --opt -u root --password=root jy510 > E:/backup/jy510_%Ymd%.sql
@echo on
mysql 在windons下的备份命令
标签:mysql pass amp div mysq sql pos mysqld dump