Sync data from MySQL to FoxPro

Want to sync data from MySQL to FoxPro?

Try Withdata DBCopier, a MySQL to FoxPro converter for Windows, Mac, and Linux, Synchronize MySQL to FoxPro, Easy and Fast.

Download Withdata DBCopier Download DBCopier

Synchronize data from MySQL to FoxPro

Login to MySQL and target FoxPro -> Select source MySQL tables -> Set target FoxPro tables -> Sync MySQL data to FoxPro

Choose source MySQL database and logon.

sync MySQL to FoxPro - Choose MySQL and logon

Choose target FoxPro database and logon.

sync MySQL to FoxPro - Choose FoxPro and logon

Click “Wizard – Import All Tables” at task dialog.

sync from MySQL to FoxPro - Task Window

then show the wizard.

1. Select source MySQL tables to sync.

sync from MySQL to FoxPro - Open source database

2. List target FoxPro tables.

Set “Import Type” to “Replace”, it will do a full synchronization.

sync data from MySQL to FoxPro - full synchronization

Or set “Import Type” to “Upsert”, it will do a upsert synchronization.

sync data from MySQL to FoxPro - upsert synchronization

3. Select FoxPro tables to sync.

sync from MySQL to FoxPro - select tables

4. Sync MySQL data to FoxPro.

sync from MySQL to FoxPro - sync


More about MySQL to FoxPro converter

See also:

MySQL → FoxPro reference

Type mapping

Value kindin MySQLin FoxPro
IntINTNumeric(10,0)
BigintBIGINTNumeric(19,0)
DecimalDECIMAL(p,s)Numeric(p,s)
FloatDOUBLEFloat
TextVARCHAR(n)Character(n)
Long textLONGTEXTMemo
DateDATEDate
DatetimeDATETIME(none)
BinaryLONGBLOBGeneral
BooleanTINYINT(1)Logical
JSONJSON(none)

Dialect differences

Both MySQL and FoxPro are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.

Propertyin MySQLin FoxPro
port3306(file-based)
identifiers`backtick`—
row limitLIMIT n(driver dependent)
datesDATETIME, TIMESTAMP, DATE, TIMEDate (D)
long textTINYTEXT / TEXT / MEDIUMTEXT / LONGTEXTMemo (M)
binaryBLOB / TINYBLOB / LONGBLOBGeneral (G)

Command line

SideCommand
MySQLmysqldump, or mysql -e "SELECT ..." > out.csv
MySQL (load)mysqlimport, or LOAD DATA INFILE

No counterpart

  • MySQL values of kind Date and time have nowhere to go in FoxPro.
  • MySQL values of kind JSON have nowhere to go in FoxPro.

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.


Posted

in

by

Tags: