473,394 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

city state database

Does anyone know where I could find a complete city and state database
for MySQL?

I've looked at the Zip Code data on the census website, but don't know
the best approach to get a .dbf file into MySQL. Preferably someon has

already done this?
Thanks, Greg

Feb 21 '06 #1
1 3464
<gr**************@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Does anyone know where I could find a complete city and state database
for MySQL?
Data for city/state/country/zip codes etc., change so frequently that it is
best to get the data from a commercial product, including a subscription to
updates. Otherwise your database will be outdated within a month. There
are numerous commercial providers, for example:
http://www.zip-codes.com/zip_database.asp
Price: 12 month subscription for $39.95. In MS Access, MS Excel, and CSV
formats.

This is just the first such vendor that came up in a Google search. I don't
know how many others there are, or whether this is the best price. But I
would assume that any better price is at most $39.95 better than this one.
;-)
I've looked at the Zip Code data on the census website, but don't know
the best approach to get a .dbf file into MySQL. Preferably someone has
already done this?


MySQL AB offers a tool called Migration Toolkit, but I can't find any
reference to .DBF support in its documentation.

Intelligent Converters has a product they call MySQL Migration Toolkit that
says it converts .DBF to MySQL databases. Price: $89.
http://www.convert-in.com/sqlkit.htm

EMS Software Development has a product they call EMS Data Import for MySQL
that also says it support import from .DBF files. Price: $45 for Linux, $65
for Windows.
http://www.sqlmanager.net/en/products/mysql/dataimport

There are probably others. I found these by a Google search for keywords
"mysql migration dbf".

You could also convert the DBF file to CSV using any number of free tools
(Google for "dbf csv convert") and then use MySQL's builtin LOAD DATA INFILE
statement to read the CSV.

Regards,
Bill K.
Feb 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: B. G. Mahesh | last post by:
hi In the registration form I have city, state, country fields. I was wondering if there was a database available on the net which has the list of states in each of the countries. That way when...
5
by: CaliSchmuck | last post by:
I think this is probably simple, but I'm having a problem figuring it out. I have a form that is used to enter data. I want users to be able to enter a zip code in the form, and have the city...
9
by: Mike McGee | last post by:
I am new to database apps, but I am making a db with access 2002. Here is what I have and what I would like for it to do. tblCustomers = holds customer info (Name, Address, City, State, Zip,...
2
by: MLH | last post by:
Fat chance, huh? If its not in the public domain, it ought-a-be. As much tax money spent by the USGS & other dept's, every US citizen should be given a copy of s'ware near as powerful as MapInfo....
10
by: somaskarthic | last post by:
Hi In my php page , there is a user registration form. Here the user has to select the country, state, city from the drop down box. How this can be handled in php? If a country is selected in a...
1
by: Jamie J. Begin | last post by:
I'm very new to the world of Python and am trying to wrap my head around it's OOP model. Much of my OOP experience comes from VB.Net, which is very different. Let's say I wanted to create an...
2
by: SuperHeroGeek | last post by:
Hello.. I work for a newspaper that has several newsstand listings for all different cities and states. Currently, they are uploaded manually by copying and pasting. I would like to make the whole...
6
by: dkyadav80 | last post by:
Hi sir, I'm new about xml, javascript. I have two selection field(html) first is city and second is state. the city and state values should be store in xml file. when user select city then all...
7
by: tokcy | last post by:
Hi everyone, I need the world database of country state and city. Actually i have three drop down option in my project in 1st drop down country name should come from database and 2nd drop down...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.