我已经安装了数据库'GeoIP.dat‘和'geoip.inc’在目录'...IP GeoLite\GeoLite‘,我还有一个测试\IP GeoLite\find.php的php页面,'find.phpTo make use of the GeoLite code we have to load the include file: */ $GeoPath= 'GeoLite/';
include
我正在构建一个应用程序,它将使用马克斯明德GeoLite2 2城数据库。通过遵循一个2016年年教程,我导入了GeoLite2-City块-ipv4.csv和GeoLite2-City-Locations-en.csv的数据,并添加了助手过程。(我将文件路径更改为GeoLite2 2-City-Blocks ipv6.csv)
LOAD DATA LOCAL INFILE '/root/geoip/GeoLite2-City-CSV_20160503/<e
他们的付费版本,即GeoIp2,对我来说有点贵,但他们确实有一个免费版本,即GeoLite2。但是他们的文档没有任何如何导入的例子。Set the "host" keyword argument to "geolite.info" to use the>>> # note that Insights is not supported by the