MySQL Forums
Forum List  »  Connector/Node.js

Store XML file in mysql
Posted by: Kim Le
Date: May 14, 2012 02:24PM

Hi All,
I want to store the entired xml file into the databas and later parse this file as needed. I have done the following:
-- Create table
create table testxml(xmldata text)
insert into testxml selectl load_file('data.xml');
select * from testxml; return null
Have I missed any steps here to store the xml file to database?

Options: ReplyQuote

Written By
Store XML file in mysql
May 14, 2012 02:24PM

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.