Convert Visual FoxPro database to MySQL online

Add file

Input file

Please upload the database files. In can be a single file, for example table.dbf, or multiple files.
In the case of Visual FoxPro, you need to upload the table files (.DBF, .CDX, .FPT) and optionally the database container files (.DBC, .DCT, .DCX).

Max file size for web uploads: 50 GB

Output file

The API will return a ZIP archive that contains a .SQL file. This .SQL is a MySQL dump file and can be restored into your MySQL installation.

Conversion methods

Using our Java tool

Download the RebaseData client Java tool . To convert your database using RebaseData, run the following command:

                    java -jar client-0.0.5.jar convert --output-format=mysql database-files.. output-dir/
                
Using CURL

Let's imagine we want to convert the Visual FoxPro 9.0 sample DBF files provided by Microsoft. The database directory contains the database container files (northwind.dbc, northwind.dct, northwind.dcx) and a number of table files. For example the table categories has the files categories.dbf, categories.cdx and categories.fpt, while the table customers has only the files customers.dbf and customers.cdx. In any case, we have to upload the database container files. In addition to that, we also have to upload the files of the tables that we want to convert. Let's assume we only want to convert the categories table, the command would look like this:

curl -F 'files[]=@northwind.dbc' -F 'files[]=@northwind.dct' -F 'files[]=@northwind.dcx' -F 'files[]=@categories.dbf' -F 'files[]=@categories.cdx' -F 'files[]=@categories.fpt' 'https://www.rebasedata.com/api/v1/convert?outputFormat=mysql&errorResponse=zip' -o output.zip
The file output.zip will contain a MySQL .SQL file with your data or the error message if something went wrong.

How long does it take?

The conversion process takes between 15 seconds and multiple minutes. It depends on the size of the database.

You can also use your favourite tool

Why use RebaseData?

Terms