473,606 Members | 2,200 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3493
<gr************ **@gmail.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.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
7790
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 a user selects a country I could automatically populate the state drop down menu Any help is appreciated -- bg mahesh
5
2872
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 and state come up automatically. I have two tables: Table 1 (14 fields): Customer Name, Address, City, State, Zip,
9
2007
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, Phone) tblzips = holds ( Zip codes, City, State, County, Country) tblzips ID Zipcode City State County Country
2
1356
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. Oh well, enough griping, here's my question: I want to be able to create graphic images showing the outline of US states and place dots on them for selected cities in a selected state. Example: North Carolina selected, Raleigh and Wilmington...
10
22918
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 drop down box , its corresponding states should be populated in the state drop down box. If a state is selected , its corresponding cities should be populated in the city drop down box. Where all these data has to be stored and retrieved. What...
1
2351
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 object that simply outputted something like this: Developer Detroit Michigan
2
2482
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 process dynamic, but I'm not quite sure on how to write the MySQL query or how to use loops in PHP to achieve the following: My database contains the following fields: 1) Newsstand 2) Street Address 3) City 4) State 5) Zip Code I would like...
6
4800
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 city values should display in city selection field and when user select any one city value then this state of this city should be display auto in state selection field without user selection. please solve my prolem. Thank you.
7
9238
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 state name should come from database according to country and in 3rd drop down cities name should come from database according to states. I have tried many search engine but i could not get any proper info regarding this i mean some time i get whole...
0
8015
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7951
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8439
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8430
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
3930
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3977
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2448
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1296
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.