首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > MySQL备份与恢复mysqldump输出XML创建

MySQL备份与恢复mysqldump输出XML创建

资 源 简 介

For some background of this project, read my blog: http://rpbouman.blogspot.com/2010/04/restoring-xml-formatted-mysql-dumps.html MySQL logical backups are often created with mysqldump (http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html). Normall y this is used to export data and structure in the form of SQL DML and DDL statements respectively. There is also an option to output to XML format (using the -X option on the mysqldump command line). MySQL does not currently provide any method to restore from XML dumps. This is a problem for those uses that are unaware of this option that need to restore their XML backups. This project provides an XSLT stylesheet to convert XML backups created with the mysqldump -X option back to an SQL script (DDL, DML, or both). This is an example command line that dumps the sakila database to XML: mysqldump -uroot -pmysql -P3351 -X --hex-blob --create-options --databases sakila > sakila.xml (note that the --h

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

  • bigfatcat1977 3天前 成为了本站会员

  • just4down 3天前 成为了本站会员

  • shallow 3天前 成为了本站会员

0.170834s