JLatiolait, on Aug 2 2007, 07:12 PM, said:
regarding initial instructions-
i'm not able to follow "IMPORT" directions because "Insert data from a textfile into table" under the SQL tab under "Or Location of the textfile" is not present, version 2.6.2 w/ host provider. its not present anywhere else either. perhaps it was removed by host? i do not know but it's not there and i can not get a direct answer from host... so forget about version upgrades, etc.
using the "Run SQL query/queries on database XXX:" i'm executing the following SQL w/o error BUT it does NOT populate my "table" (my table as browsed via PMA):
LOAD DATA LOCAL INFILE 'j:/productsJL.txt' REPLACE INTO TABLE products
FIELDS TERMINATED BY ','
ESCAPED BY '\\'
LINES TERMINATED BY '\r\n'
'j:/productsJL.txt' =
29,10000,EME-BPLATE,NoImageJL.gif,500.25,7/5/2007 17:59,7/23/2007 20:02,NULL,45,1,0,0,0
(this is a one line only product table test file)
i've tried removing the 2nd backslash and also \n. i've also tried this as a csv (preferable).
i receive no errors; the table remains unchanged. any help here is greatly appreciated and i think others may benefit here? i feel this is potentially a valuable contribution to this thread please assist.
thanks, j
I'm just running the latest ubuntu server and have phpMyAdmin version 2.11.8.1deb1.
I also don't have "Insert data from a textfile into table" there. Instead there is an import tab. But can't import using that. Gives me error every time "Invalid field count in CSV input on line 1."














