/maxmind-csv-import

An automated import from Maxmind's GeoIP Legacy Country CSV, from CSV to MySQL

Primary LanguagePHP

MaxMind CSV Import

An automated import from MaxMind's GeoIP Legacy Country CSV, from CSV to MySQL, inspired by Vincent de Lau

Screenshots

Initial welcome screen

Image

Progress window

Image

Setup

Place the repository files in the root folder of a local environment.

Change the $config settings in /inc/import_csv.php to match your requirements.

// config settings for the import
public $config = array(
						'host' 		=> 'localhost',
						'user' 		=> 'root',
						'password' 	=> '',
						'database' 	=> 'geoip',
						'file' 		=> '/pathto/csv.csv',
					);