Skip to content

Instantly share code, notes, and snippets.

View infosatheesh2020's full-sized avatar

Satheeshkumar Manoharan infosatheesh2020

View GitHub Profile
@infosatheesh2020
infosatheesh2020 / db-setup.sql
Created October 12, 2016 14:35 — forked from gka/db-setup.sql
load geoip database into mysql
DROP TABLE IF EXISTS location;
CREATE TABLE IF NOT EXISTS `location` (
`locId` int(11) unsigned NOT NULL AUTO_INCREMENT,
`country` varchar(2) DEFAULT NULL,
`region` varchar(2) DEFAULT NULL,
`city` varchar(1000) DEFAULT NULL,
`postalCode` varchar(10) DEFAULT NULL,
`latitude` float DEFAULT NULL,
`longitude` float DEFAULT NULL,