Using Windows Server 2003, MySQL 5.1.23, MySQL .NET Connector 6.2.2
I am trying to use the MySQLBulkLoader class to read in a fixed width text file. An excerpt from that classes Load method is:
string sql = BuildSqlCommand();
MySqlCommand cmd = new MySqlCommand(sql, Connection);
cmd.CommandTimeout = 10 * 60;// Timeout;
cmd.ExecuteNonQuery();
The string created by 'BuildSqlCommand' is:
LOAD DATA LOCAL INFILE 'c:/M/D/ALLDATA_0.TXT' INTO TABLE dk.tk
FIELDS TERMINATED BY '' LINES TERMINATED BY '\n'
When the program launchs the 'ExecuteNonQuery' the following error occurs:
(Message) Fatal error encountered during command execution. (Source) MySql.Data (Inner Exception Message) Fatal error encountered attempting to read the resultset.
Is there any known limitations to ExecuteNonQuery? The text file size is 290MB.