tools/api_load.php consist hardcoded IP
Issue #320
resolved
Is uppose here should be localhost?
// Insert data
$query = "LOAD DATA INFILE 'http://10.132.120.172/activity.csv' INTO TABLE eve_api.systemActivity FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\n'";
$stmt = $mysql->prepare($query);
$stmt->execute();
Comments (2)
-
repo owner -
- changed status to resolved
Fuck yeah, Daim.
I feel like these issue resolved messages are bringing warmth and comfort to the world
- Log in to comment
Yes, localhost would more than likely be the correct address. I have another server doing my XML API call to offload from the MySQL server.
Thanks - I will get this changed with the Tripwire rewrite I am working on now.