@echo off
set filename=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%
mysqldump --single-transaction --flush-logs --master-data=2 -uroot -proot www >d:\db\%filename%.sql
相关文章
- PHP定时任务获取微信access_token的方法
- MySQL索引的使用方式和缺点
- MySQL导出数据文件
- MySQL if,ifnull,nullif 函数
- MySQL中的IFNULL,IF,NULLIF函数
- WNMP环境搭建步骤 nginx1.4.3+php-5.3.27+mysql-5.5+RunHiddenConsole
- Mysql5.7自定义函数递归报错1424 Recursive stored functions and triggers are not allowed
- 有关使用phpstudy搭建sqli-lab环境搭建时发生Uncaught Error: Call to undefined function mysql_connect()错误
- mysql if()
- mysql错误一例:ERROR 1030 (HY000): Got error 28 from storage engine