MySQL Forums
Forum List  »  Connector/Node.js

Re: Export table data to XML file
Posted by: Jonathan Stephens
Date: July 07, 2007 01:19AM

Start the mysql client using the --xml option:

./mysql -ujon test --xml -e 'SELECT * FROM t1' > t1.xml

http://dev.mysql.com/doc/refman/5.1/en/mysql-command-options.html#option_mysql_xml

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle



Edited 2 time(s). Last edit at 07/07/2007 01:27AM by Jon Stephens.

Options: ReplyQuote


Subject
Written By
Posted
Re: Export table data to XML file
July 07, 2007 01:19AM
February 05, 2009 04:58AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.