I would like to load the data file into MySQL using the following command:
LOAD DATA LOCAL INFILE '/Users/David/Desktop/popularity20110511/test_data' INTO TABLE test_table
The above command gives me the following error:
#7890 - Can't find file '/Users/David/Desktop/popularity20110511/test_data'.
I also tried
LOAD DATA INFILE '/Users/David/Desktop/popularity20110511/test_data' INTO TABLE test_table
I also give me an error
#13 - Can't get stat of '/Users/David/Desktop/popularity20110511/test_data' (Errcode: 13)
I have repeatedly checked the path and file name, and I also made sure that the file privilege is set to Read & Write for everyone.
I am using Mac and phpMyAdmin.
Any suggestions on what might be the problem?
David source share