LOAD DATA LOCAL INFILE -> Exception: Not supported field count found
Posted: Sun 25 Mar 2007 20:39
Hi!
i try to import a .csv file into a mySQL Database using the mysqldirect component. Ihave a DataSet and created a TableAdapter which contains a SQL Statement like
LOAD DATA LOCAL INFILE 'C:\test.csv' INTO TABLE `testimport` FIELDS TERMINATED BY ';' LINES TERMINATED BY '\r\n'
If i use this Statement for example in phpmyadmin it just works fine.. I can't figgure out why
I searched a lot in this and other forums but i couldn't find somebody with the same problem...
please help me
Jim
i try to import a .csv file into a mySQL Database using the mysqldirect component. Ihave a DataSet and created a TableAdapter which contains a SQL Statement like
LOAD DATA LOCAL INFILE 'C:\test.csv' INTO TABLE `testimport` FIELDS TERMINATED BY ';' LINES TERMINATED BY '\r\n'
If i use this Statement for example in phpmyadmin it just works fine.. I can't figgure out why

please help me

Jim