备份MYSQL数据库
2004-12-01 17:03
621 查看
备份命令如下 可以写成BAT 然后自己写一个services程序做成自动备份程序。
C:/mysql/bin/mysqldump --all-databases >c://%1 -h localhost -u root -n --default-character-set=latin1
-h 为主机地址
-u 超级管理员名字
--default-character-set 默认字符集合
--all-databases 备份所有的数据库
c://%1为一个数据库名 可以在命令行中跟参数 这样好和services结合
C:/mysql/bin/mysqldump --all-databases >c://%1 -h localhost -u root -n --default-character-set=latin1
-h 为主机地址
-u 超级管理员名字
--default-character-set 默认字符集合
--all-databases 备份所有的数据库
c://%1为一个数据库名 可以在命令行中跟参数 这样好和services结合
相关文章推荐
- Advanced SQL Injection with MySQL
- mysql注入大全
- MYSQL用户root密码为空又一攻击方法
- MySQL Injection White Paper
- 浅谈MYSQL跨库查询
- MySQL errno: 145 错误修复
- MySQL用户管理
- mysql++ 自带的一些精巧演示例子
- dbutils例子
- MySQL数据导入导出方法与工具介绍
- 利用crontab,系统每天定时备份mysql数据库
- MySQL数据库备份
- Access and MySQL
- MySQL的distinct group by SQL语法用法说明
- 如何解决客户端与服务器端的连接(mysql) :xxx.xxx.xxx.xxx is not allowed to connect to this mysql serv
- 终于搞定了mysql!
- mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
- 安装vbb的一些经验(包括mysql,apache)
- 在 MySQL 数据库中使用 C 执行 SQL 语句
- mysql 群集解决方案(原创)