Anonymous
10-24-2003, 11:59 PM
Hello,
After trying a bunch of ways to insert data into a table in my MySQL db using the PHPAdmin and a local file , I was wondering if something is not compatible. The error I always receive no matter how simple I make the data ( 2 fiields, two rows etc) or change load data syntax variables is always
Database info14_rtess - Table first running on localhost
Error
SQL-query :
LOAD DATA LOCAL INFILE '/tmp/phpykP2NN' REPLACE INTO TABLE `first`
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY 'rn'
MySQL said:
The used command is not allowed with this MySQL version
I can manually insert values and populate the table, so the db and fileds are OK, but the bulk uploading is not working. Is it the location of the text file ( although the temp directory seems fine) or is it still some incompatibility between the Load data syntax?
Any thoughts?
Thanks
Paul
After trying a bunch of ways to insert data into a table in my MySQL db using the PHPAdmin and a local file , I was wondering if something is not compatible. The error I always receive no matter how simple I make the data ( 2 fiields, two rows etc) or change load data syntax variables is always
Database info14_rtess - Table first running on localhost
Error
SQL-query :
LOAD DATA LOCAL INFILE '/tmp/phpykP2NN' REPLACE INTO TABLE `first`
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY 'rn'
MySQL said:
The used command is not allowed with this MySQL version
I can manually insert values and populate the table, so the db and fileds are OK, but the bulk uploading is not working. Is it the location of the text file ( although the temp directory seems fine) or is it still some incompatibility between the Load data syntax?
Any thoughts?
Thanks
Paul