MySQL备份与恢复
来源:互联网 发布:js弹出一个window窗口 编辑:程序博客网 时间:2024/05/17 06:26
备份
The mysqldump client is a backup programoriginally written by Igor Romanenko. It can be used to dump a database or acollection of databases for backup or transfer to another SQL server (notnecessarily a MySQL server). The dump typically contains SQL statements tocreate the table, populate it, or both. However, mysqldump can also be used togenerate files in CSV, other delimited text, or XML format.
There are in general three ways to usemysqldump—in order to dump a set of one or more tables, a set of one or morecomplete databases, or an entire MySQL server—as shown here:
shell> mysqldump [options] db_name [tbl_name ...]shell> mysqldump [options] --databases db_name ...shell> mysqldump [options] --all-databases
To see a list of the options your versionof mysqldump supports, execute mysqldump --help.
操作方法:
(1) 进入MySQL安装目录的bin目录下
(1) 使用mysqldump备份数据库
恢复
执行以下命令:
其中红框部分为MySQL安装路径
参考:
http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html
- MySQL备份与恢复
- Mysql 备份与恢复
- Mysql 备份与恢复
- mysql备份与恢复
- MySql 备份与恢复
- Mysql 备份与恢复
- mysql备份与恢复
- MySQL备份与恢复
- Mysql 备份与恢复
- MySQL备份与恢复
- Mysql 备份与恢复
- Mysql备份与恢复
- mysql备份与恢复
- MYSQL备份与恢复
- MySQL备份与恢复
- mysql 备份与恢复
- mysql备份与恢复
- mysql备份与恢复
- Constant folding 常量折叠
- PHP+SMTP的邮件发送机制
- TBDR缺点
- The absolute uri: http://www.keystudio.com/tags/premission cannot be resolved in either web.xml or t
- hdu 4460 Friend Chains (限制条件的spfa)
- MySQL备份与恢复
- C#toolTip应用
- 把现有Unity3d游戏向Windows Phone 8.1移植(基础原理)
- 异常总结
- HDOJ2001-计算两点间的距离【水题】
- 第四章字符串和多维数组
- hdu4601 Letter Tree,trie,bfs,dfs,二分,rmq
- 函数调用过程
- 两个jar包中,有相同资源,如何加载。