Closed (fixed)
Project:
Table Wizard
Version:
6.x-1.x-dev
Component:
tw_import_delimited
Priority:
Critical
Category:
Feature request
Assigned:
Reporter:
Created:
5 Mar 2009 at 21:14 UTC
Updated:
19 Apr 2009 at 15:30 UTC
Currently, the file is actually loaded into the database with the MySQL-specific LOAD DATA LOCAL INFILE statement. Fallback to a row-by-row method when not MySQL. Perhaps a place fo a hook...
Comments
Comment #1
codexmas commentedAye +1 to this, LOAD DATA LOCAL INFILE is quite a security risk on shared hosting servers, anyone can read any other DB as the MySQL user.
Comment #2
mikeryanSince even some versions of MySQL don't support this, I'm changing this to critical. I will implement row-by-row import, with a "quick import" option using LOAD DATA LOCAL on MySQL (does Postgres have an equivalent).
Comment #3
mikeryanDone - please try it out if you're dealing with delimited files.
Comment #4
mikeryanSo far so good - I'm marking this as fixed, if anyone has a problem importing delimited files please open a new issue.