visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Databases :: MySql :: syncronising data between ms access and mysql using on-line scripts and FTP


By: ps14 U.S.A.  Date: 21/09/2004 00:00:00  English  Points: 50 Status: Answered
Quality : Excellent
Hi,

I want to syncronise data between a ms access database and an on-line mysql database.

I was thinking of:
- generating a textfile for every changed record, or to export a complete table to a textfile from ms access.
- Upload it to a directory on the webserver by ftp
- use a script to import all data in this textfile into the database (update or add)

The same should have to be possible in the other direction: extract the data from the mysql database and import it into the ms access database.

Has anybody done this before? Can anybody help me with this? With writing the asp scripts?

Many thanks in advance for you hints, tips and tricks!

Peter
By: VGR Date: 21/09/2004 04:50:00 English  Type : Answer
yes, you can do this. You can even ***perhaps*** directly make a front-end script (PHP, ASP, etc) that updates the MySql DB on the fly fromthe AccessDB somewhere else

My solution would be :
-given DB layout is established on both machines and is compatible :
-from Access export the data in CSV format
-upload it (FTP, HTTP, etc) to the machine running MySql in production
-LOAD DATA INFILE 'yourupdate.csv' INTO table;
see <A HREF="http://www.mysql.com/doc/en/LOAD_DATA.html">http://www.mysql.com/doc/en/LOAD_DATA.html</A>

regards

Do register to be able to answer

EContact
browser fav
page generated in 110.663890 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page