Discussion:
Import DBF data to a MySQL Table
(too old to reply)
e***@gmail.com
2006-06-01 18:32:47 UTC
Permalink
Hi

I'm trying to sync a DBF file stored on my customer server with the
MySQL table on my server.

I'm still looking for an automatic way to do it, however, for now i'm
trying to find a way to create a small app that will help me do it
faster than manually.

My question is: how do I import the data from my DBF file to my MySQL
Server?

I already have the code to select data from the DBF, but can't seems to
be able to find a fast way to import it. I tried the way of inserting
each line, but its really slow since I have aroung 10,000 rows.

Any idea that would make the process faster ?

Thanks!
Eric
Mike C#
2006-06-01 20:19:32 UTC
Permalink
I think you bought a ticket to the wrong show. You should probably search
for a MySQL newsgroup...
Post by e***@gmail.com
Hi
I'm trying to sync a DBF file stored on my customer server with the
MySQL table on my server.
I'm still looking for an automatic way to do it, however, for now i'm
trying to find a way to create a small app that will help me do it
faster than manually.
My question is: how do I import the data from my DBF file to my MySQL
Server?
I already have the code to select data from the DBF, but can't seems to
be able to find a fast way to import it. I tried the way of inserting
each line, but its really slow since I have aroung 10,000 rows.
Any idea that would make the process faster ?
Thanks!
Eric
Eric
2006-06-01 20:30:40 UTC
Permalink
Yeah I know, new here and don't know how to delete posts.
Post by Mike C#
I think you bought a ticket to the wrong show. You should probably search
for a MySQL newsgroup...
Post by e***@gmail.com
Hi
I'm trying to sync a DBF file stored on my customer server with the
MySQL table on my server.
I'm still looking for an automatic way to do it, however, for now i'm
trying to find a way to create a small app that will help me do it
faster than manually.
My question is: how do I import the data from my DBF file to my MySQL
Server?
I already have the code to select data from the DBF, but can't seems to
be able to find a fast way to import it. I tried the way of inserting
each line, but its really slow since I have aroung 10,000 rows.
Any idea that would make the process faster ?
Thanks!
Eric
AverageUser
2006-06-02 14:20:02 UTC
Permalink
MySQL can import a comma separated value text file in a very short time. My
experience was 1.2 million records in about 10 seconds. If you can export the
MS SQL data as comma separated value file, then have a VB Script or program
to import the file into MySQL data base. There are several 3rd party
applications that will convert data from one database to another.
Post by e***@gmail.com
Hi
I'm trying to sync a DBF file stored on my customer server with the
MySQL table on my server.
I'm still looking for an automatic way to do it, however, for now i'm
trying to find a way to create a small app that will help me do it
faster than manually.
My question is: how do I import the data from my DBF file to my MySQL
Server?
I already have the code to select data from the DBF, but can't seems to
be able to find a fast way to import it. I tried the way of inserting
each line, but its really slow since I have aroung 10,000 rows.
Any idea that would make the process faster ?
Thanks!
Eric
Loading...