http://www.perlmonks.org?node_id=11118486


in reply to Re^12: Help with Geo::IP output
in thread Help with Geo::IP output

Ensure you have DBD::SQLite installed (cpan DBD::SQLite or cpanm DBD::SQLite), ensure your maxmind licence key is valid and listed in the config file, from the command line run:

geoip --fetch --DB=dbi:SQLite:dbname=geoip.db

The program will create a new database called geoip.db, create the required schema and populate it with the data from maxmind.