MySQL Community Server 5.7 的数据备份
来源:互联网 发布:数字电子网络配线架 编辑:程序博客网 时间:2024/05/19 02:25
对应下载链接:http://dev.mysql.com/downloads/windows/installer/5.7.html
安装后打开安装目录,我的是C:\Program Files\MySQL\MySQL Server 5.7
修改文件my-default.ini 为 my.ini。
打开my.ini 在sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES 下面加下
[mysqldump]user=rootpassword=你的密码
备份脚如下:
@echo offset "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"cd C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqldump -h 127.0.0.1 -P7488 tks > D:\backup\tks_%Ymd%.sql@echo on@pause
脚本中不需要用涉及到用户名和密码的东西,因为在my.ini中已经配置。如果直接明文方式脚本会报错
Warning: Using a password on the command line interface can be insecure.
脚本中有个参数必须-P参数,如果修改过则需加上端口号。如不加则会报
mysqldubmp get ERROR 2003Can't connect to MySQL server on 'localhost' (10061)
0 0
- MySQL Community Server 5.7 的数据备份
- linux MySQL Community Server 5.7.9 更换数据目录位置
- MySQL Community Server 5.7安装
- MySQL Community Server 5.7.12配置
- MySQL Community Server 5.7.5发布
- 【转载】MySQL Community Server 5.7.5发布
- MySQL Community Server 5.7.19环境部署
- MySQL Community Server 5.7.19安装指南
- Mac安装 Server version: 5.7.19 MySQL Community Server (GPL)的整个过程
- Community Server的问题
- Linux Download MySQL Community Server
- 安装最新Mysql community server
- Centos7 搭建mysql-community-server
- Community Server-->数据提供服务
- 安装最新Mysql community server 5.7.10社区版的坑爹经历
- MySQL Community Server压缩包的安装配置方法
- 关于mysql-community-server-5.7.13安装过程
- MySQL Community Server 5.7.11 ubuntu14.04 TLS安装tar
- object-c图形绘制总结
- 指针学习注意点
- 【转载整理】Android对话框
- Django+Jquery+Bootstrap Modal+Iframe使用异步机制上传文件实现方法
- 《game design workshop》阅读笔记(四)——Game Design Basics——Working with Formal Elements
- MySQL Community Server 5.7 的数据备份
- HelloWorldServlet
- 用例图之包含、扩展、泛化
- mmap函数用法及示例程序
- 利用java自带的MD5加密
- oracle中replace函数的使用
- Assembly x64 Intro - MMX 4x4W Transpose
- android上开源的酷炫的交互动画和视觉效果
- 汇编中寄存器的唯一作用