<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pwenzel</id>
		<title>Just Solve the File Format Problem - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pwenzel"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Special:Contributions/Pwenzel"/>
		<updated>2026-05-16T11:56:08Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/DBase_III</id>
		<title>DBase III</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/DBase_III"/>
				<updated>2015-12-09T20:20:50Z</updated>
		
		<summary type="html">&lt;p&gt;Pwenzel: Added link to PHP XBase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:dBase III}}{{FormatInfo&lt;br /&gt;
| subcat                 = Databases&lt;br /&gt;
| extensions             = {{ext|dbf}}&lt;br /&gt;
| pronom                 = {{PRONOM|x-fmt/9}}&lt;br /&gt;
}}&lt;br /&gt;
'''dBase III''' is a database program.&lt;br /&gt;
&lt;br /&gt;
This article describes how to export data out of a dBase III Table File (*.dbf). &lt;br /&gt;
&lt;br /&gt;
== Opening the data with Libre Office ==&lt;br /&gt;
It is possible to import *.dbf files into Libre Office (or Open Office) Calc or Base: http://help.libreoffice.org/Calc/Importing_and_Exporting_dBASE_Files . &lt;br /&gt;
&lt;br /&gt;
Libre Office will try to recognize the character encoding of the data and preselect this option in the import window. Once a file imported, it can be saved in/exported to a variety of different formats. &lt;br /&gt;
&lt;br /&gt;
== Importing the data directly into a mySQL database ==&lt;br /&gt;
Alternatively the data can directly be imported into a running mySQL database using the linux program &amp;lt;code&amp;gt;[http://manpages.ubuntu.com/manpages/lucid/man1/dbf2mysql.1.html dbf2mysql]&amp;lt;/code&amp;gt;. Importing the data directly however could cause some problems with the character encoding for non ASCII characters.&lt;br /&gt;
&lt;br /&gt;
If the mysql server is already running, the following commands will import the data:&lt;br /&gt;
 user@linux:~$ mysql -u root -p&lt;br /&gt;
 mysql&amp;gt; create database database_name;&lt;br /&gt;
 mysql&amp;gt; exit&lt;br /&gt;
 user@linux:~$ sudo apt-get install dbf2mysql&lt;br /&gt;
 user@linux:~$ dbf2mysql -vvv -c -f -d database_name -U root -P password DATA_FILE.DBF &lt;br /&gt;
&lt;br /&gt;
The data can then be exported using &amp;lt;code&amp;gt;mysqldump&amp;lt;/code&amp;gt;&lt;br /&gt;
 user@linux:~$ mysqldump -u root -p database_name &amp;gt; data_export.sql&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.dbase.com/Knowledgebase/INT/db7_file_fmt.htm dBase version 7 file header format]&lt;br /&gt;
&lt;br /&gt;
== Metaformat files ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.synalysis.net/Grammars/dbase.grammar Synalysis grammar file] (for Hexinator / Synalize It!; [[Synalysis grammar file|more details]])&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[dBase programming language]]&lt;br /&gt;
&lt;br /&gt;
== Additional Weblinks ==&lt;br /&gt;
* [http://en.wikipedia.org/wiki/DBase Wikipedia article about dBase]&lt;br /&gt;
* [http://www.nationalarchives.gov.uk/pronom/x-fmt/9 dBase III entry in PRONOM]&lt;br /&gt;
* [http://www.digitalpreservation.gov/formats/fdd/fdd000325.shtml dBase entry at digitalpreservation.gov]&lt;br /&gt;
* [http://www.dbf2002.com/dbf-file-format.html DBF File structure]&lt;br /&gt;
* [http://www.dbase.com/Knowledgebase/INT/db7_file_fmt.htm dBase File Structure at dBase knowledge base]&lt;br /&gt;
* [http://www.clicketyclick.dk/databases/xbase/format/index.html Xbase file format description]&lt;br /&gt;
* [http://www.dbase.com/ Current dBase product]&lt;br /&gt;
* [http://www.textfiles.com/programming/FORMATS/dbasefil.inf dBase III file structure]&lt;br /&gt;
* [http://stackoverflow.com/questions/14008534/opening-and-searching-dbase-iii-dbf-databases-in-python Opening and searching dBase III (DBF) databases in Python]&lt;br /&gt;
* [https://github.com/hisamu/php-xbase PHP XBase - A parser for dbf files using PHP]&lt;/div&gt;</summary>
		<author><name>Pwenzel</name></author>	</entry>

	</feed>