var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Load data infile: Permission denied error 13
I'm just going to get the obvious response to my question out of the way first:
Yes, I have changed the permissions on my file to 777, thank you for asking.
I'm using the terminal on OSX 10.8.5 logged into mysql as the root user. There is a students.csv file on my desktop, and I am trying to access it with the following command:
load data infile '/Users/myusername/desktop/students.csv' into table dt340a_students Fields terminated by ',';
This is always followed by this message:
Can't get stat of '/Users/dannyflynn/desktop/students.csv' (Errcode: 13 - Permission denied)
I was able to do this using the same file without a problem on my PC in college, but I have no idea why this is happening. Can someone point me in the right direction?