Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > MySQL > LOAD XML alternative

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-09-08, 12:39
aspect aspect is offline
Registered User
 
Join Date: Jan 2008
Posts: 5
LOAD XML alternative

I'm running MySQL RC 5.1. I want to use the LOAD XML INFILE commands, but from what I can decipher, that's only available with Alpha version 6. I read references to it being added in RC 5.2.5, but I cannot locate that version anywhere.

I don't want to run an alpha database.

So, here's my dilemna...

1. Am I correct in that only v 6 supports the LOAD XML INFILE command? If not, what RC version can I upgrade to?

2. If I'm stuck not being able to support this import command, what's the best method of reading my xml file into my database? My XML will always look like:

<xml>
<data attribute="value" attribute2="value" attribute3="value">
<name1>value</name2>
<name2>value</name2>
</data>
</xml>
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On