MySQL Forums
Forum List  »  Connector/Node.js

Re: How to store entire xml file into mysql db
Posted by: Harald Groven
Date: July 09, 2009 01:34PM

Use
LOAD DATA INFILE ... LINES TERMINATED BY '</endTag>'

if you are on MySql 4+ or LOAD XML if you are on MySql 6.

I have posted an example on how to do it as a user comment in
http://dev.mysql.com/doc/refman/6.0/en/load-xml.html

Options: ReplyQuote


Subject
Written By
Posted
Re: How to store entire xml file into mysql db
July 09, 2009 01:34PM


Sorry, you can't reply to this topic. It has been closed.

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.