getmea
02-13-2008, 12:00 AM
Hi all...
My web host recently upgraded the PHP Admin system to 2.40 and mySQL to 4.0.27. And now, I am no longer able to import CSV data files into the database. The error I get is:
--------------------------------------------------------------------------------------------------------------------------
SQL-query :
LOAD DATA LOCAL INFILE '/home/vdeck/tmp/phpVHHq7g' INTO TABLE `Inventory` FIELDS TERMINATED BY ',' ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\r\n'
MySQL said:
The used command is not allowed with this MySQL version
--------------------------------------------------------------------------------------------------------------------------
What gives? Why would mySQL remove this feature? Anyone know how to get around this?
Very annoying...I need to import roughly 2000 records daily to run an inventory update on my site. I end up having to write scripts to write SQL Insert statements...
By the way, anyone know how to import tab-delimited text files into the same?
Thanks.
My web host recently upgraded the PHP Admin system to 2.40 and mySQL to 4.0.27. And now, I am no longer able to import CSV data files into the database. The error I get is:
--------------------------------------------------------------------------------------------------------------------------
SQL-query :
LOAD DATA LOCAL INFILE '/home/vdeck/tmp/phpVHHq7g' INTO TABLE `Inventory` FIELDS TERMINATED BY ',' ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\r\n'
MySQL said:
The used command is not allowed with this MySQL version
--------------------------------------------------------------------------------------------------------------------------
What gives? Why would mySQL remove this feature? Anyone know how to get around this?
Very annoying...I need to import roughly 2000 records daily to run an inventory update on my site. I end up having to write scripts to write SQL Insert statements...
By the way, anyone know how to import tab-delimited text files into the same?
Thanks.