MySQL规范化和即用型国家/地区/城市表

MySQL 现成的表格,包含世界上的国家、地区/州和城市。「MySQL ready-to-use tables with countries, regions/states and cities of the world.」

  • Owner: prograhammer/countries-regions-cities
  • Platform: Linux, Mac, Windows, BSD, Cross-platform, Solaris
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

MySQL normalized and ready-to-use tables of Countries, Regions (Provinces/States), Cities

Installation

The SQL file includes create statements with indexes, so simply follow the steps below to import the sql file.

Linux/OSX command line:

$ gunzip world.sql.gz
$ mysql -u myusername -p mypassword
mysql> use mydatabase;
mysql> source world.sql;

Windows

  • Install 7zip (so you can extract gzip files)
  • Extract world.sql.gz and then use the same mysql command lines as Linux above on the world.sql file

Data Structure

Countries table

  • Size (uncompressed, in database w/ indexes): 32 KB
  • 230 records

Main metrics

Overview
Name With Ownerprograhammer/countries-regions-cities
Primary Language
Program language (Language Count: 0)
PlatformLinux, Mac, Windows, BSD, Cross-platform, Solaris
License:
所有者活动
Created At2015-12-28 01:13:18
Pushed At2017-09-15 17:10:01
Last Commit At2015-12-27 20:09:36
Release Count0
用户参与
Stargazers Count356
Watchers Count25
Fork Count141
Commits Count10
Has Issues Enabled
Issues Count10
Issue Open Count9
Pull Requests Count0
Pull Requests Open Count1
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private