var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Load Data Local Infile - File not found (Errcode: 2)
I am attempting to upload a file found on my local computer to an online database (mysql). Here is my sql statement:
LOAD DATA LOCAL INFILE 'C:\\a.csv'
INTO TABLE TableA
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
I get the error message "File not found (Errcode: 2)"
Can anyone be of assistance?
the reason u get that error is
one of the directory in which u have the file does not have the enough permission.
change the permission then try again or move the file to directory which is owned by you not by root or admin
as ur using local infile u shouldnt get this error .