If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > xml to mysql import with parent and child tags

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-25-09, 18:14
bazwacky bazwacky is offline
Registered User
 
Join Date: Aug 2009
Posts: 1
Unhappy xml to mysql import with parent and child tags

Is there a program I can buy that will take a large xml file ( Over 650mb ! )

And then import the data into a mysql database. Apart from the file size I am having problems because the xml file uses parent and child tags so the destination database needs to be multi table.

I am also looking for a program to open the xml file so i can edit it and break it up into smaller files. Any ideas of what program I can use for this

If anyone can point me in the dirrection of a solution I would be most greatful

regards

baz
Reply With Quote
  #2 (permalink)  
Old 08-26-09, 07:49
BettingSherlock BettingSherlock is offline
Registered User
 
Join Date: May 2007
Posts: 78
Editing a 650Mb file is unpractical, whatever method used.
Better import it into the database first then see about edits.

Just found this in version 6.0
MySQL :: MySQL 6.0 Reference Manual :: 12.2.7 LOAD XML Syntax
only glanced over it so not sure it can handle your situation.

Speaking as a developer i would create an application to do it (or have one created), if you just need to map the xml tags to mysql tables and fields then it should be possible for a budget less than 100$

You can try a site like rentacoder, getacoder, getafreelancer, etc... with a bit of luck you'll find a guy to do it for 10$.
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

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