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 > export .dbf file to MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-04, 13:25
-Dman100- -Dman100- is offline
Registered User
 
Join Date: Jan 2004
Posts: 124
export .dbf file to MySQL

I'm new to MySQL and know nothing about FoxPro. I am trying to find out if there is a way to take a .dbf file (FoxPro database) and import it into MySQL. There are actually several .dbf files and I want to take each one and import into one MySQL database. I don't have the FoxPro application, but only the .dbf files. Is there a way to do this? If so, any direction on how to accomplish would be greatly appreciated. Thanks for any help.
-Dman100-
Reply With Quote
  #2 (permalink)  
Old 07-22-04, 12:19
yellowmarker yellowmarker is offline
Registered User
 
Join Date: Jul 2004
Location: Dundee, Scotland
Posts: 107
DBF files are not plain text. You can do one of two things. 1) Open up those files in Excel (it will open DBF files) and export them as CSV, or 2) find a class and programmatically import them (search freshmeat.net for 'dbf').

reference:
http://lists.mysql.com/mysql/168623

Last edited by yellowmarker; 07-22-04 at 12:59.
Reply With Quote
  #3 (permalink)  
Old 07-26-04, 00:53
supercctv supercctv is offline
Registered User
 
Join Date: May 2004
Posts: 1
i do it like this.
use access to open the dbf file
create a odbc to mysql database
in access,you can export the data to mysql select export->odbc()
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