Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- srsv/utils$ svn diff geoip.pl
- Index: geoip.pl
- ===================================================================
- --- geoip.pl (revision 3606)
- +++ geoip.pl (working copy)
- @@ -79,8 +79,8 @@
- import constant {
- #countrydb_url => 'http://www.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip',
- #FIXME: This needs a date generator!
- - countrydb_url => "http://www.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_${date}.zip",
- - srcname => "GeoLiteCity_${date}.zip",
- + countrydb_url => "http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_${date}.zip",
- + srcname => "GeoLiteCity_${date}",
- };
- }
- ./geoip.pl
- /home/svs/svschat/data/GeoLiteCity_20160901
- Checking for updated country data...
- Downloading country data...
- /home/svs/svschat/data/GeoLiteCity_20160901: Is a directory
- Decompressing...
- Archive: /home/svs/svschat/data/GeoLiteCity_20160901.zip
- inflating: /home/svs/svschat/data/GeoIP/GeoLiteCity-Blocks.csv
- inflating: /home/svs/svschat/data/GeoIP/GeoLiteCity-Location.csv
- Connecting to database...
- Creating new table...
- Inserting data...
- Loading geoip data...DBD::mysql::db do failed: The used command is not allowed with this MySQL version at ./geoip.pl line 243.
- DBD::mysql::db do failed: The used command is not allowed with this MySQL version at ./geoip.pl line 243.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement