Advertisement
Guest User

Untitled

a guest
Sep 1st, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. srsv/utils$ svn diff geoip.pl
  2.  
  3. Index: geoip.pl
  4. ===================================================================
  5. --- geoip.pl (revision 3606)
  6. +++ geoip.pl (working copy)
  7. @@ -79,8 +79,8 @@
  8. import constant {
  9. #countrydb_url => 'http://www.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip',
  10. #FIXME: This needs a date generator!
  11. - countrydb_url => "http://www.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_${date}.zip",
  12. - srcname => "GeoLiteCity_${date}.zip",
  13. + countrydb_url => "http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_${date}.zip",
  14. + srcname => "GeoLiteCity_${date}",
  15. };
  16. }
  17.  
  18.  
  19. ./geoip.pl
  20. /home/svs/svschat/data/GeoLiteCity_20160901
  21. Checking for updated country data...
  22. Downloading country data...
  23. /home/svs/svschat/data/GeoLiteCity_20160901: Is a directory
  24. Decompressing...
  25. Archive: /home/svs/svschat/data/GeoLiteCity_20160901.zip
  26. inflating: /home/svs/svschat/data/GeoIP/GeoLiteCity-Blocks.csv
  27. inflating: /home/svs/svschat/data/GeoIP/GeoLiteCity-Location.csv
  28. Connecting to database...
  29. Creating new table...
  30. Inserting data...
  31. Loading geoip data...DBD::mysql::db do failed: The used command is not allowed with this MySQL version at ./geoip.pl line 243.
  32. 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