Initialize maxminddb_conf in a function