[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

XML 2 mySQL

Posted on 2006-07-01
1
Medium Priority
?
341 Views
Last Modified: 2013-12-25
Hi,

I am trying to Sync some data (not full database, but selected database) between 2 mySQL server that is not connected via LAN.

I and trying to use VB to export the data to an XML file, and, import it to another mySQL server.

May I know is there any simple way to export and import the XML file? I am totally new to XML. May I have some sample/direction?

Thanks in advance.

Regards,


0
Comment
Question by:cybeh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 35

Accepted Solution

by:
Raynard7 earned 1000 total points
ID: 17025321
If you are trying to synch the data there may be easier ways to do so;

I would reccomend that you export the data from one as a series of SQL statements and another to execute the SQL statements.  That way you know everything has been exported that you want and they will be re-inserted the way you retreived them.

You would need to use the mysql dll for parsing the data - or use one of the batch scripts.  There is information in the help file about running exports to SQL.

XML is good if you want to go across database platforms - as if you have the schema correct you can then modify the inserts; tailoring for the destination database,

If you want just to go from like to like - SQL exports would perform the job much easier.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question